@@ -10,14 +10,12 @@ use rustc_hir::GenericBound::Trait;
1010use rustc_hir:: QPath :: Resolved ;
1111use rustc_hir:: WherePredicate :: BoundPredicate ;
1212use rustc_hir:: { PolyTraitRef , TyKind , WhereBoundPredicate } ;
13- use rustc_infer:: infer:: {
14- error_reporting:: nice_region_error:: {
15- self , find_anon_type, find_param_with_region, suggest_adding_lifetime_params,
16- HirTraitObjectVisitor , NiceRegionError , TraitObjectVisitor ,
17- } ,
18- error_reporting:: unexpected_hidden_region_diagnostic,
19- NllRegionVariableOrigin , RelateParamBound ,
13+ use rustc_infer:: infer:: error_reporting:: nice_region_error:: {
14+ self , find_anon_type, find_param_with_region, suggest_adding_lifetime_params,
15+ HirTraitObjectVisitor , NiceRegionError , TraitObjectVisitor ,
2016} ;
17+ use rustc_infer:: infer:: error_reporting:: region:: unexpected_hidden_region_diagnostic;
18+ use rustc_infer:: infer:: { NllRegionVariableOrigin , RelateParamBound } ;
2119use rustc_middle:: bug;
2220use rustc_middle:: hir:: place:: PlaceBase ;
2321use rustc_middle:: mir:: { ConstraintCategory , ReturnConstraint } ;
0 commit comments