@@ -7,12 +7,11 @@ use crate::{AmbiguityError, AmbiguityErrorMisc, AmbiguityKind, Determinacy};
7
7
use crate :: { CrateLint , ParentScope , ResolutionError , Resolver , Scope , ScopeSet , Weak } ;
8
8
use crate :: { ModuleKind , ModuleOrUniformRoot , NameBinding , PathResult , Segment , ToNameBinding } ;
9
9
use rustc_ast:: ast:: { self , NodeId } ;
10
- use rustc_ast_lowering:: Resolver as ResolverAstLowering ;
10
+ use rustc_ast_lowering:: ResolverAstLowering ;
11
11
use rustc_ast_pretty:: pprust;
12
12
use rustc_attr:: { self as attr, StabilityLevel } ;
13
13
use rustc_data_structures:: fx:: FxHashSet ;
14
- use rustc_expand:: base:: SyntaxExtension ;
15
- use rustc_expand:: base:: { self , Indeterminate , InvocationRes } ;
14
+ use rustc_expand:: base:: { Indeterminate , InvocationRes , ResolverExpand , SyntaxExtension } ;
16
15
use rustc_expand:: compile_declarative_macro;
17
16
use rustc_expand:: expand:: { AstFragment , AstFragmentKind , Invocation , InvocationKind } ;
18
17
use rustc_feature:: is_builtin_attr_name;
@@ -141,7 +140,7 @@ crate fn registered_attrs_and_tools(
141
140
( registered_attrs, registered_tools)
142
141
}
143
142
144
- impl < ' a > base :: Resolver for Resolver < ' a > {
143
+ impl < ' a > ResolverExpand for Resolver < ' a > {
145
144
fn next_node_id ( & mut self ) -> NodeId {
146
145
self . next_node_id ( )
147
146
}
0 commit comments