]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs
Auto merge of #92169 - In-line:no-cache-selector-lrc, r=Mark-Simulacrum
[rust.git] / compiler / rustc_metadata / src / rmeta / decoder / cstore_impl.rs
index 51b3cc7e4fa54bc32e9d4dec4cde5d733c3ec266..a639772fde70990f0150c60f4459d4e60cf88ea7 100644 (file)
@@ -352,7 +352,7 @@ pub(in crate::rmeta) fn provide(providers: &mut Providers) {
                 visible_parent_map.entry(child).or_insert(parent);
             }
 
-            visible_parent_map
+            Lrc::new(visible_parent_map)
         },
 
         dependency_formats: |tcx, ()| Lrc::new(crate::dependency_format::calculate(tcx)),