@@ -34,7 +34,7 @@ use crate::infer::region_constraints::VerifyIfEq;
3434/// like are used. This is a particular challenge since this function is invoked
3535/// very late in inference and hence cannot make use of the normal inference
3636/// machinery.
37- #[ tracing:: instrument( level = "Debug " , skip( tcx, param_env) ) ]
37+ #[ tracing:: instrument( level = "debug " , skip( tcx, param_env) ) ]
3838pub fn extract_verify_if_eq < ' tcx > (
3939 tcx : TyCtxt < ' tcx > ,
4040 param_env : ty:: ParamEnv < ' tcx > ,
@@ -63,7 +63,7 @@ pub fn extract_verify_if_eq<'tcx>(
6363}
6464
6565/// True if a (potentially higher-ranked) outlives
66- #[ tracing:: instrument( level = "Debug " , skip( tcx, param_env) ) ]
66+ #[ tracing:: instrument( level = "debug " , skip( tcx, param_env) ) ]
6767pub ( super ) fn can_match_erased_ty < ' tcx > (
6868 tcx : TyCtxt < ' tcx > ,
6969 param_env : ty:: ParamEnv < ' tcx > ,
@@ -102,7 +102,7 @@ impl<'tcx> Match<'tcx> {
102102
103103 /// Binds the pattern variable `br` to `value`; returns an `Err` if the pattern
104104 /// is already bound to a different value.
105- #[ tracing:: instrument( level = "Debug " , skip( self ) ) ]
105+ #[ tracing:: instrument( level = "debug " , skip( self ) ) ]
106106 fn bind (
107107 & mut self ,
108108 br : ty:: BoundRegion ,
@@ -167,7 +167,7 @@ impl<'tcx> TypeRelation<'tcx> for Match<'tcx> {
167167 #[ instrument( skip( self ) , level = "debug" ) ]
168168 fn tys ( & mut self , pattern : Ty < ' tcx > , value : Ty < ' tcx > ) -> RelateResult < ' tcx , Ty < ' tcx > > {
169169 if pattern == value {
170- return Ok ( pattern) ;
170+ Ok ( pattern)
171171 } else {
172172 relate:: super_relate_tys ( self , pattern, value)
173173 }
@@ -181,7 +181,7 @@ impl<'tcx> TypeRelation<'tcx> for Match<'tcx> {
181181 ) -> RelateResult < ' tcx , ty:: Const < ' tcx > > {
182182 debug ! ( "{}.consts({:?}, {:?})" , self . tag( ) , pattern, value) ;
183183 if pattern == value {
184- return Ok ( pattern) ;
184+ Ok ( pattern)
185185 } else {
186186 relate:: super_relate_consts ( self , pattern, value)
187187 }
0 commit comments