@@ -1038,6 +1038,7 @@ pub struct Resolver<'a> {
1038
1038
/// A list of proc macro LocalDefIds, written out in the order in which
1039
1039
/// they are declared in the static array generated by proc_macro_harness.
1040
1040
proc_macros : Vec < NodeId > ,
1041
+ confused_type_with_std_module : FxHashMap < Span , Span > ,
1041
1042
}
1042
1043
1043
1044
/// Nothing really interesting here; it just provides memory for the rest of the crate.
@@ -1404,6 +1405,7 @@ impl<'a> Resolver<'a> {
1404
1405
main_def : Default :: default ( ) ,
1405
1406
trait_impls : Default :: default ( ) ,
1406
1407
proc_macros : Default :: default ( ) ,
1408
+ confused_type_with_std_module : Default :: default ( ) ,
1407
1409
} ;
1408
1410
1409
1411
let root_parent_scope = ParentScope :: module ( graph_root, & resolver) ;
@@ -1447,6 +1449,7 @@ impl<'a> Resolver<'a> {
1447
1449
let maybe_unused_extern_crates = self . maybe_unused_extern_crates ;
1448
1450
let glob_map = self . glob_map ;
1449
1451
let main_def = self . main_def ;
1452
+ let confused_type_with_std_module = self . confused_type_with_std_module ;
1450
1453
ResolverOutputs {
1451
1454
definitions,
1452
1455
cstore : Box :: new ( self . crate_loader . into_cstore ( ) ) ,
@@ -1464,6 +1467,7 @@ impl<'a> Resolver<'a> {
1464
1467
main_def,
1465
1468
trait_impls : self . trait_impls ,
1466
1469
proc_macros,
1470
+ confused_type_with_std_module,
1467
1471
}
1468
1472
}
1469
1473
@@ -1486,6 +1490,7 @@ impl<'a> Resolver<'a> {
1486
1490
main_def : self . main_def . clone ( ) ,
1487
1491
trait_impls : self . trait_impls . clone ( ) ,
1488
1492
proc_macros,
1493
+ confused_type_with_std_module : self . confused_type_with_std_module . clone ( ) ,
1489
1494
}
1490
1495
}
1491
1496
0 commit comments