We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e37e81c + 7d40019 commit 4d5eccaCopy full SHA for 4d5ecca
src/librustc_mir/util/pretty.rs
@@ -561,7 +561,7 @@ fn write_mir_sig(
561
562
ty::print::with_forced_impl_filename_line(|| {
563
// see notes on #41697 elsewhere
564
- write!(w, " {}", tcx.def_path_str(src.def_id()))
+ write!(w, "{}", tcx.def_path_str(src.def_id()))
565
})?;
566
567
if src.promoted.is_none() && is_function {
src/test/mir-opt/retag.rs
@@ -121,7 +121,7 @@ fn main() {
121
// }
122
// END rustc.main-{{closure}}.SimplifyCfg-elaborate-drops.after.mir
123
// START rustc.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
124
-// fn std::intrinsics::drop_in_place(_1: *mut Test) -> () {
+// fn std::intrinsics::drop_in_place(_1: *mut Test) -> () {
125
// ...
126
// bb0: {
127
// Retag([raw] _1);
0 commit comments