@@ -557,9 +557,8 @@ impl<'a> PathSource<'a> {
557557 match ( self , has_unexpected_resolution) {
558558 ( PathSource :: Trait ( _) , true ) => E0404 ,
559559 ( 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 ,
563562 ( PathSource :: Struct , true ) => E0574 ,
564563 ( PathSource :: Struct , false ) => E0422 ,
565564 ( PathSource :: Expr ( ..) , true ) | ( PathSource :: Delegation , true ) => E0423 ,
@@ -568,6 +567,8 @@ impl<'a> PathSource<'a> {
568567 ( PathSource :: Pat | PathSource :: TupleStruct ( ..) , false ) => E0531 ,
569568 ( PathSource :: TraitItem ( ..) , true ) => E0575 ,
570569 ( PathSource :: TraitItem ( ..) , false ) => E0576 ,
570+ ( PathSource :: PreciseCapturingArg ( ..) , true ) => E0799 ,
571+ ( PathSource :: PreciseCapturingArg ( ..) , false ) => E0800 ,
571572 }
572573 }
573574}
0 commit comments