@@ -10,14 +10,12 @@ use rustc_hir::GenericBound::Trait;
10
10
use rustc_hir:: QPath :: Resolved ;
11
11
use rustc_hir:: WherePredicate :: BoundPredicate ;
12
12
use 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 ,
20
16
} ;
17
+ use rustc_infer:: infer:: error_reporting:: region:: unexpected_hidden_region_diagnostic;
18
+ use rustc_infer:: infer:: { NllRegionVariableOrigin , RelateParamBound } ;
21
19
use rustc_middle:: bug;
22
20
use rustc_middle:: hir:: place:: PlaceBase ;
23
21
use rustc_middle:: mir:: { ConstraintCategory , ReturnConstraint } ;
0 commit comments