@@ -819,10 +819,10 @@ impl<'a, 'b> LateResolutionVisitor<'a, '_> {
819819 }
820820 }
821821 AssocItemKind :: Fn ( _, _) => {
822- visit:: walk_assoc_item ( this, trait_item)
822+ visit:: walk_trait_item ( this, trait_item)
823823 }
824824 AssocItemKind :: TyAlias ( ..) => {
825- visit:: walk_assoc_item ( this, trait_item)
825+ visit:: walk_trait_item ( this, trait_item)
826826 }
827827 AssocItemKind :: Macro ( _) => {
828828 panic ! ( "unexpanded macro in resolve!" )
@@ -1106,7 +1106,7 @@ impl<'a, 'b> LateResolutionVisitor<'a, '_> {
11061106 ) ;
11071107
11081108 this. with_constant_rib ( |this| {
1109- visit:: walk_assoc_item ( this, impl_item)
1109+ visit:: walk_impl_item ( this, impl_item)
11101110 } ) ;
11111111 }
11121112 AssocItemKind :: Fn ( ..) => {
@@ -1117,7 +1117,7 @@ impl<'a, 'b> LateResolutionVisitor<'a, '_> {
11171117 impl_item. span ,
11181118 |n, s| MethodNotMemberOfTrait ( n, s) ) ;
11191119
1120- visit:: walk_assoc_item ( this, impl_item) ;
1120+ visit:: walk_impl_item ( this, impl_item) ;
11211121 }
11221122 AssocItemKind :: TyAlias ( _, Some ( ref ty) ) => {
11231123 // If this is a trait impl, ensure the type
0 commit comments