Skip to content

Commit 1551495

Browse files
committed
Fix an ICE in CGU dumping code.
1 parent d3f416d commit 1551495

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_monomorphize/src/partitioning

1 file changed

+2
-2
lines changed

compiler/rustc_monomorphize/src/partitioning/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -365,14 +365,14 @@ where
365365
let symbol_hash_start = symbol_name.rfind('h');
366366
let symbol_hash = symbol_hash_start.map_or("<no hash>", |i| &symbol_name[i..]);
367367

368-
let _ = writeln!(
368+
let _ = with_no_trimmed_paths!(writeln!(
369369
s,
370370
" - {} [{:?}] [{}] estimated size {}",
371371
mono_item,
372372
linkage,
373373
symbol_hash,
374374
mono_item.size_estimate(tcx)
375-
);
375+
));
376376
}
377377

378378
let _ = writeln!(s);

0 commit comments

Comments
 (0)