X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_monomorphize%2Fsrc%2Fpartitioning%2Fmod.rs;h=7c8dc1a0ecba81593559c9b1fbacd81267d4f7c8;hb=976348603485b216b0d5314eca674a2b24df4c73;hp=67597a0d7b46b5dea8d40f9bce3480e6ebb68146;hpb=02379e917b2e187997bdabd290e61ecf0744faaf;p=rust.git diff --git a/compiler/rustc_monomorphize/src/partitioning/mod.rs b/compiler/rustc_monomorphize/src/partitioning/mod.rs index 67597a0d7b4..7c8dc1a0ecb 100644 --- a/compiler/rustc_monomorphize/src/partitioning/mod.rs +++ b/compiler/rustc_monomorphize/src/partitioning/mod.rs @@ -427,7 +427,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);