Skip to content

Commit

Permalink
Rollup merge of #94669 - Alexendoo:unpretty-help, r=tmiasko
Browse files Browse the repository at this point in the history
Update -Z unpretty error message

Adds `thir-tree`, removes `everybody_loops` (removed in #93913)
  • Loading branch information
matthiaskrgr authored Mar 6, 2022
2 parents 5f08cb9 + 1d64b85 commit b7ccab4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions compiler/rustc_session/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2628,11 +2628,10 @@ fn parse_pretty(debugging_opts: &DebuggingOptions, efmt: ErrorOutputType) -> Opt
name => early_error(
efmt,
&format!(
"argument to `unpretty` must be one of `normal`, \
`expanded`, `identified`, `expanded,identified`, \
`expanded,hygiene`, `everybody_loops`, \
"argument to `unpretty` must be one of `normal`, `identified`, \
`expanded`, `expanded,identified`, `expanded,hygiene`, \
`ast-tree`, `ast-tree,expanded`, `hir`, `hir,identified`, \
`hir,typed`, `hir-tree`, `mir` or `mir-cfg`; got {}",
`hir,typed`, `hir-tree`, `thir-tree`, `mir` or `mir-cfg`; got {}",
name
),
),
Expand Down

0 comments on commit b7ccab4

Please sign in to comment.