@@ -32,10 +32,9 @@ use crate::def_collector::collect_definitions;
32
32
use crate :: imports:: { ImportData , ImportKind } ;
33
33
use crate :: macros:: { MacroRulesBinding , MacroRulesScope , MacroRulesScopeRef } ;
34
34
use 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,
39
38
} ;
40
39
41
40
type Res = def:: Res < NodeId > ;
@@ -620,16 +619,7 @@ impl<'a, 'ra, 'tcx> BuildReducedGraphVisitor<'a, 'ra, 'tcx> {
620
619
let kind = ImportKind :: Single {
621
620
source : source. ident ,
622
621
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 ( ) ,
633
623
type_ns_only,
634
624
nested,
635
625
id,
0 commit comments