]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_monomorphize/src/partitioning/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_monomorphize / src / partitioning / mod.rs
index b8684a09fd7cea3b2bd6399d2a5c128874e052ed..c1992137575bc6ab20b77e4ef0984a0cd651b9f5 100644 (file)
@@ -425,7 +425,7 @@ fn collect_and_partition_mono_items<'tcx>(
         let mut item_keys: Vec<_> = items
             .iter()
             .map(|i| {
-                let mut output = with_no_trimmed_paths(|| i.to_string());
+                let mut output = with_no_trimmed_paths!(i.to_string());
                 output.push_str(" @@");
                 let mut empty = Vec::new();
                 let cgus = item_to_cgus.get_mut(i).unwrap_or(&mut empty);