We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad3c1d commit 139e946Copy full SHA for 139e946
compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs
@@ -360,7 +360,7 @@ pub fn provide(providers: &mut Providers) {
360
visible_parent_map.entry(child).or_insert(parent);
361
}
362
363
- visible_parent_map
+ Lrc::new(visible_parent_map)
364
},
365
366
dependency_formats: |tcx, ()| Lrc::new(crate::dependency_format::calculate(tcx)),
compiler/rustc_middle/src/query/mod.rs
@@ -1552,7 +1552,7 @@ rustc_queries! {
1552
desc { "calculating the missing lang items in a crate" }
1553
separate_provide_extern
1554
1555
- query visible_parent_map(_: ()) -> DefIdMap<DefId> {
+ query visible_parent_map(_: ()) -> Lrc<DefIdMap<DefId>> {
1556
storage(ArenaCacheSelector<'tcx>)
1557
desc { "calculating the visible parent map" }
1558
0 commit comments