rust/compiler/rustc_middle/src/mir
bors 2fe50cd72c Auto merge of #119129 - jyn514:verbose, r=compiler-errors,estebank
rework `-Zverbose`

implements the changes described in https://github.com/rust-lang/compiler-team/issues/706

the first commit is only a name change from `-Zverbose` to `-Zverbose-internals` and does not change behavior. the second commit changes diagnostics.

possible follow up work:
- `ty::pretty` could print more info with `--verbose` than it does currently. `-Z verbose-internals` shows too much info in a way that's not helpful to users. michael had ideas about this i didn't fully understand: https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/uplift.20some.20-Zverbose.20calls.20and.20rename.20to.E2.80.A6.20compiler-team.23706/near/408984200
- `--verbose` should imply `-Z write-long-types-to-disk=no`. the code in `ty_string_with_limit` should take `--verbose` into account (apparently this affects `Ty::sort_string`, i'm not familiar with this code). writing a file to disk should suggest passing `--verbose`.

r? `@compiler-errors` cc `@estebank`
2023-12-26 12:27:29 +00:00
..
interpret Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
basic_blocks.rs Remove deleted docs + better link together MIR traversing docs 2023-09-29 19:16:02 +00:00
consts.rs remove redundant imports 2023-12-10 10:56:22 +08:00
coverage.rs coverage: Add CoverageKind::SpanMarker for including extra spans in MIR 2023-12-08 22:40:49 +11:00
generic_graph.rs remove redundant imports 2023-12-10 10:56:22 +08:00
generic_graphviz.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
graphviz.rs remove redundant imports 2023-12-10 10:56:22 +08:00
mod.rs Split coroutine desugaring kind from source 2023-12-22 23:58:29 +00:00
mono.rs Minimize pub usage in source_map.rs. 2023-11-02 19:35:00 +11:00
patch.rs remove redundant imports 2023-12-10 10:56:22 +08:00
pretty.rs rename to verbose-internals 2023-12-19 13:35:37 -05:00
query.rs Print list of missing target features when calling a function with target features outside an unsafe block 2023-11-27 19:13:11 +01:00
spanview.rs remove redundant imports 2023-12-10 10:56:22 +08:00
statement.rs ctfe interpreter: extend provenance so that it can track whether a pointer is immutable 2023-12-07 17:46:36 +01:00
syntax.rs interpret: simplify handling of shifts by no longer trying to handle signed and unsigned shift amounts in the same branch 2023-11-12 12:49:46 +01:00
tcx.rs remove redundant imports 2023-12-10 10:56:22 +08:00
terminator.rs Only regular coroutines have movability 2023-12-25 21:13:41 +00:00
traversal.rs Remove deleted docs + better link together MIR traversing docs 2023-09-29 19:16:02 +00:00
type_foldable.rs Uplift TypeAndMut 2023-12-12 23:24:44 +00:00
visit.rs remove redundant imports 2023-12-10 10:56:22 +08:00