@@ -1038,6 +1038,7 @@ pub struct Resolver<'a> {
10381038 /// A list of proc macro LocalDefIds, written out in the order in which
10391039 /// they are declared in the static array generated by proc_macro_harness.
10401040 proc_macros : Vec < NodeId > ,
1041+ confused_type_with_std_module : FxHashMap < Span , Span > ,
10411042}
10421043
10431044/// Nothing really interesting here; it just provides memory for the rest of the crate.
@@ -1404,6 +1405,7 @@ impl<'a> Resolver<'a> {
14041405 main_def : Default :: default ( ) ,
14051406 trait_impls : Default :: default ( ) ,
14061407 proc_macros : Default :: default ( ) ,
1408+ confused_type_with_std_module : Default :: default ( ) ,
14071409 } ;
14081410
14091411 let root_parent_scope = ParentScope :: module ( graph_root, & resolver) ;
@@ -1447,6 +1449,7 @@ impl<'a> Resolver<'a> {
14471449 let maybe_unused_extern_crates = self . maybe_unused_extern_crates ;
14481450 let glob_map = self . glob_map ;
14491451 let main_def = self . main_def ;
1452+ let confused_type_with_std_module = self . confused_type_with_std_module ;
14501453 ResolverOutputs {
14511454 definitions,
14521455 cstore : Box :: new ( self . crate_loader . into_cstore ( ) ) ,
@@ -1464,6 +1467,7 @@ impl<'a> Resolver<'a> {
14641467 main_def,
14651468 trait_impls : self . trait_impls ,
14661469 proc_macros,
1470+ confused_type_with_std_module,
14671471 }
14681472 }
14691473
@@ -1486,6 +1490,7 @@ impl<'a> Resolver<'a> {
14861490 main_def : self . main_def . clone ( ) ,
14871491 trait_impls : self . trait_impls . clone ( ) ,
14881492 proc_macros,
1493+ confused_type_with_std_module : self . confused_type_with_std_module . clone ( ) ,
14891494 }
14901495 }
14911496
0 commit comments