@@ -721,6 +721,7 @@ pub trait Resolver {
721
721
fn visit_ast_fragment_with_placeholders ( & mut self , mark : Mark , fragment : & AstFragment ,
722
722
derives : & [ Mark ] ) ;
723
723
fn add_builtin ( & mut self , ident : ast:: Ident , ext : Lrc < SyntaxExtension > ) ;
724
+ fn add_unshadowable_attr ( & mut self , ident : ast:: Ident , ext : Lrc < SyntaxExtension > ) ;
724
725
725
726
fn resolve_imports ( & mut self ) ;
726
727
// Resolves attribute and derive legacy macros from `#![plugin(..)]`.
@@ -729,6 +730,7 @@ pub trait Resolver {
729
730
730
731
fn resolve_macro_invocation ( & mut self , invoc : & Invocation , scope : Mark , force : bool )
731
732
-> Result < Option < Lrc < SyntaxExtension > > , Determinacy > ;
733
+
732
734
fn resolve_macro_path ( & mut self , path : & ast:: Path , kind : MacroKind , scope : Mark ,
733
735
derives_in_scope : & [ ast:: Path ] , force : bool )
734
736
-> Result < Lrc < SyntaxExtension > , Determinacy > ;
@@ -759,6 +761,7 @@ impl Resolver for DummyResolver {
759
761
fn visit_ast_fragment_with_placeholders ( & mut self , _invoc : Mark , _fragment : & AstFragment ,
760
762
_derives : & [ Mark ] ) { }
761
763
fn add_builtin ( & mut self , _ident : ast:: Ident , _ext : Lrc < SyntaxExtension > ) { }
764
+ fn add_unshadowable_attr ( & mut self , _ident : ast:: Ident , _ext : Lrc < SyntaxExtension > ) { }
762
765
763
766
fn resolve_imports ( & mut self ) { }
764
767
fn find_legacy_attr_invoc ( & mut self , _attrs : & mut Vec < Attribute > , _allow_derive : bool )
0 commit comments