Skip to content

Commit

Permalink
Rollup merge of #117311 - RalfJung:unpretty-thir-help, r=petrochenkov
Browse files Browse the repository at this point in the history
-Zunpretty help: add missing possible values

`-Zunpretty` accepts "thir-tree" and "thir-flat", but that was not shown in `-Zhelp`.
  • Loading branch information
workingjubilee authored Oct 29, 2023
2 parents 61cd3d0 + 64678d4 commit 10c9c7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_session/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1899,6 +1899,7 @@ written to standard error output)"),
`hir` (the HIR), `hir,identified`,
`hir,typed` (HIR with types for each node),
`hir-tree` (dump the raw HIR),
`thir-tree`, `thir-flat`,
`mir` (the MIR), or `mir-cfg` (graphviz formatted MIR)"),
unsound_mir_opts: bool = (false, parse_bool, [TRACKED],
"enable unsound and buggy MIR optimizations (default: no)"),
Expand Down

0 comments on commit 10c9c7c

Please sign in to comment.