Skip to content

Commit b7ccab4

Browse files
authored
Rollup merge of #94669 - Alexendoo:unpretty-help, r=tmiasko
Update -Z unpretty error message Adds `thir-tree`, removes `everybody_loops` (removed in #93913)
2 parents 5f08cb9 + 1d64b85 commit b7ccab4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

compiler/rustc_session/src/config.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -2628,11 +2628,10 @@ fn parse_pretty(debugging_opts: &DebuggingOptions, efmt: ErrorOutputType) -> Opt
26282628
name => early_error(
26292629
efmt,
26302630
&format!(
2631-
"argument to `unpretty` must be one of `normal`, \
2632-
`expanded`, `identified`, `expanded,identified`, \
2633-
`expanded,hygiene`, `everybody_loops`, \
2631+
"argument to `unpretty` must be one of `normal`, `identified`, \
2632+
`expanded`, `expanded,identified`, `expanded,hygiene`, \
26342633
`ast-tree`, `ast-tree,expanded`, `hir`, `hir,identified`, \
2635-
`hir,typed`, `hir-tree`, `mir` or `mir-cfg`; got {}",
2634+
`hir,typed`, `hir-tree`, `thir-tree`, `mir` or `mir-cfg`; got {}",
26362635
name
26372636
),
26382637
),

0 commit comments

Comments
 (0)