diff options
| author | Alex Macleod <alex@macleod.io> | 2022-03-06 12:43:30 +0000 |
|---|---|---|
| committer | Alex Macleod <alex@macleod.io> | 2022-03-06 12:45:37 +0000 |
| commit | 1d64b8587fb58a39c8a1d47eecdd5a85884b96a3 (patch) | |
| tree | a820268dcf69638e0ad415ec414e0e4379fe7da1 /compiler/rustc_session/src | |
| parent | ad0d1d71d3bc6f85f53d8ab2bf47daa7c8bc2c51 (diff) | |
| download | rust-1d64b8587fb58a39c8a1d47eecdd5a85884b96a3.tar.gz rust-1d64b8587fb58a39c8a1d47eecdd5a85884b96a3.zip | |
Update -Z unpretty error message
Adds `thir-tree`, removes `everybody_loops`
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index 5f8aec80bcc..221dc86c1d4 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -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 ), ), |
