diff options
| author | Maja Kądziołka <maya@compilercrim.es> | 2025-02-26 13:07:12 +0100 |
|---|---|---|
| committer | Maja Kądziołka <maya@compilercrim.es> | 2025-02-26 13:07:12 +0100 |
| commit | b8c7e8aa72e0ab103b781c7beaded88aeb49f8b0 (patch) | |
| tree | 5553e8fb4eb26dbe62d9807ef2ac1d81153d80ac /compiler/rustc_middle/src/mir/pretty.rs | |
| parent | 2b3cef882aa9085db417837ac6152463060f1f8a (diff) | |
| download | rust-b8c7e8aa72e0ab103b781c7beaded88aeb49f8b0.tar.gz rust-b8c7e8aa72e0ab103b781c7beaded88aeb49f8b0.zip | |
Make -Z unpretty=mir suggest -Z dump-mir as well
Diffstat (limited to 'compiler/rustc_middle/src/mir/pretty.rs')
| -rw-r--r-- | compiler/rustc_middle/src/mir/pretty.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/mir/pretty.rs b/compiler/rustc_middle/src/mir/pretty.rs index 875f5282bf2..f880b1364c2 100644 --- a/compiler/rustc_middle/src/mir/pretty.rs +++ b/compiler/rustc_middle/src/mir/pretty.rs @@ -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) { |
