diff options
| author | Scott Olson <scott@solson.me> | 2016-01-01 21:56:29 -0600 |
|---|---|---|
| committer | Scott Olson <scott@solson.me> | 2016-01-04 16:11:33 -0600 |
| commit | c9a7171e10f62ba01d263a57b4242beb8d4832dd (patch) | |
| tree | 8dea1179577c0c9eb723d95957a213f39062d289 | |
| parent | 19a50e4f2a899ad2b4a7b05709dcfd8450a7bbdc (diff) | |
| download | rust-c9a7171e10f62ba01d263a57b4242beb8d4832dd.tar.gz rust-c9a7171e10f62ba01d263a57b4242beb8d4832dd.zip | |
Pretty-print ReturnPointer as 'return' in MIR.
| -rw-r--r-- | src/librustc/mir/repr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/repr.rs b/src/librustc/mir/repr.rs index 74cd698dd5a..75a588d424e 100644 --- a/src/librustc/mir/repr.rs +++ b/src/librustc/mir/repr.rs @@ -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) => |
