@@ -32,10 +32,9 @@ use crate::def_collector::collect_definitions;
3232use crate :: imports:: { ImportData , ImportKind } ;
3333use crate :: macros:: { MacroRulesBinding , MacroRulesScope , MacroRulesScopeRef } ;
3434use crate :: {
35- BindingKey , Determinacy , ExternPreludeEntry , Finalize , MacroData , Module , ModuleKind ,
36- ModuleOrUniformRoot , NameBinding , NameBindingData , NameBindingKind , ParentScope , PathResult ,
37- ResolutionError , Resolver , ResolverArenas , Segment , ToNameBinding , Used , VisResolutionError ,
38- errors,
35+ BindingKey , ExternPreludeEntry , Finalize , MacroData , Module , ModuleKind , ModuleOrUniformRoot ,
36+ NameBinding , NameBindingData , NameBindingKind , ParentScope , PathResult , ResolutionError ,
37+ Resolver , ResolverArenas , Segment , ToNameBinding , Used , VisResolutionError , errors,
3938} ;
4039
4140type Res = def:: Res < NodeId > ;
@@ -620,16 +619,7 @@ impl<'a, 'ra, 'tcx> BuildReducedGraphVisitor<'a, 'ra, 'tcx> {
620619 let kind = ImportKind :: Single {
621620 source : source. ident ,
622621 target : ident,
623- source_bindings : PerNS {
624- type_ns : Cell :: new ( Err ( Determinacy :: Undetermined ) ) ,
625- value_ns : Cell :: new ( Err ( Determinacy :: Undetermined ) ) ,
626- macro_ns : Cell :: new ( Err ( Determinacy :: Undetermined ) ) ,
627- } ,
628- target_bindings : PerNS {
629- type_ns : Cell :: new ( None ) ,
630- value_ns : Cell :: new ( None ) ,
631- macro_ns : Cell :: new ( None ) ,
632- } ,
622+ bindings : Default :: default ( ) ,
633623 type_ns_only,
634624 nested,
635625 id,
0 commit comments