Make -Z unpretty=mir suggest -Z dump-mir as well
This commit is contained in:
parent
2b3cef882a
commit
b8c7e8aa72
2 changed files with 2 additions and 0 deletions
|
@ -319,6 +319,7 @@ pub fn write_mir_pretty<'tcx>(
|
|||
|
||||
writeln!(w, "// WARNING: This output format is intended for human consumers only")?;
|
||||
writeln!(w, "// and is subject to change without notice. Knock yourself out.")?;
|
||||
writeln!(w, "// HINT: See also -Z dump-mir for MIR at specific points during compilation.")?;
|
||||
|
||||
let mut first = true;
|
||||
for def_id in dump_mir_def_ids(tcx, single) {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// WARNING: This output format is intended for human consumers only
|
||||
// and is subject to change without notice. Knock yourself out.
|
||||
// HINT: See also -Z dump-mir for MIR at specific points during compilation.
|
||||
fn foo() -> i32 {
|
||||
let mut _0: i32;
|
||||
let mut _1: (i32, bool);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue