@@ -557,9 +557,8 @@ impl<'a> PathSource<'a> {
557
557
match ( self , has_unexpected_resolution) {
558
558
( PathSource :: Trait ( _) , true ) => E0404 ,
559
559
( PathSource :: Trait ( _) , false ) => E0405 ,
560
- // TODO:
561
- ( PathSource :: Type | PathSource :: PreciseCapturingArg ( ..) , true ) => E0573 ,
562
- ( PathSource :: Type | PathSource :: PreciseCapturingArg ( ..) , false ) => E0412 ,
560
+ ( PathSource :: Type , true ) => E0573 ,
561
+ ( PathSource :: Type , false ) => E0412 ,
563
562
( PathSource :: Struct , true ) => E0574 ,
564
563
( PathSource :: Struct , false ) => E0422 ,
565
564
( PathSource :: Expr ( ..) , true ) | ( PathSource :: Delegation , true ) => E0423 ,
@@ -568,6 +567,8 @@ impl<'a> PathSource<'a> {
568
567
( PathSource :: Pat | PathSource :: TupleStruct ( ..) , false ) => E0531 ,
569
568
( PathSource :: TraitItem ( ..) , true ) => E0575 ,
570
569
( PathSource :: TraitItem ( ..) , false ) => E0576 ,
570
+ ( PathSource :: PreciseCapturingArg ( ..) , true ) => E0799 ,
571
+ ( PathSource :: PreciseCapturingArg ( ..) , false ) => E0800 ,
571
572
}
572
573
}
573
574
}
0 commit comments