rustc_mir: remove extra space when pretty-printing MIR.

This commit is contained in:
Ana-Maria Mihalache 2020-03-17 16:33:26 +00:00
parent 54b7d21f59
commit 7d400199c2
2 changed files with 2 additions and 2 deletions

View File

@ -561,7 +561,7 @@ fn write_mir_sig(
ty::print::with_forced_impl_filename_line(|| {
// see notes on #41697 elsewhere
write!(w, " {}", tcx.def_path_str(src.def_id()))
write!(w, "{}", tcx.def_path_str(src.def_id()))
})?;
if src.promoted.is_none() && is_function {

View File

@ -114,7 +114,7 @@ fn main() {
// }
// END rustc.main-{{closure}}.EraseRegions.after.mir
// START rustc.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
// fn std::intrinsics::drop_in_place(_1: *mut Test) -> () {
// fn std::intrinsics::drop_in_place(_1: *mut Test) -> () {
// ...
// bb0: {
// Retag([raw] _1);