@@ -725,31 +725,6 @@ impl Determinacy {
725725 }
726726}
727727
728- pub struct DummyResolver ;
729-
730- impl Resolver for DummyResolver {
731- fn next_node_id ( & mut self ) -> ast:: NodeId { ast:: DUMMY_NODE_ID }
732-
733- fn get_module_scope ( & mut self , _id : ast:: NodeId ) -> Mark { Mark :: root ( ) }
734-
735- fn resolve_dollar_crates ( & mut self , _fragment : & AstFragment ) { }
736- fn visit_ast_fragment_with_placeholders ( & mut self , _invoc : Mark , _fragment : & AstFragment ,
737- _derives : & [ Mark ] ) { }
738- fn add_builtin ( & mut self , _ident : ast:: Ident , _ext : Lrc < SyntaxExtension > ) { }
739-
740- fn resolve_imports ( & mut self ) { }
741- fn resolve_macro_invocation ( & mut self , _invoc : & Invocation , _invoc_id : Mark , _force : bool )
742- -> Result < Option < Lrc < SyntaxExtension > > , Determinacy > {
743- Err ( Determinacy :: Determined )
744- }
745- fn resolve_macro_path ( & mut self , _path : & ast:: Path , _kind : MacroKind , _invoc_id : Mark ,
746- _derives_in_scope : Vec < ast:: Path > , _force : bool )
747- -> Result < Lrc < SyntaxExtension > , Determinacy > {
748- Err ( Determinacy :: Determined )
749- }
750- fn check_unused_macros ( & self ) { }
751- }
752-
753728#[ derive( Clone ) ]
754729pub struct ModuleData {
755730 pub mod_path : Vec < ast:: Ident > ,
0 commit comments