Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiler/rustc_middle/src/mir/pretty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/const_fn_mir/dump.mir
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
Loading