Pretty-print ReturnPointer as 'return' in MIR.
This commit is contained in:
parent
19a50e4f2a
commit
c9a7171e10
@ -554,7 +554,7 @@ impl<'tcx> Debug for Lvalue<'tcx> {
|
||||
Static(def_id) =>
|
||||
write!(fmt, "{}", ty::tls::with(|tcx| tcx.item_path_str(def_id))),
|
||||
ReturnPointer =>
|
||||
write!(fmt, "ReturnPointer"),
|
||||
write!(fmt, "return"),
|
||||
Projection(ref data) =>
|
||||
match data.elem {
|
||||
ProjectionElem::Downcast(ref adt_def, index) =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user