diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-19 14:21:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-19 14:21:19 +0100 |
| commit | bce56888e97f23ca4dce4c0e0021ed1924c53df2 (patch) | |
| tree | d8d15f6c088703269245d5a0321bbf0e1586c28f /src/librustc_driver | |
| parent | 5272be5b5e7f7289b487d38cfbaebd18548b50be (diff) | |
| parent | 260fb31fd5d4d90d6694570c8a1964d7e1c5f81b (diff) | |
| download | rust-bce56888e97f23ca4dce4c0e0021ed1924c53df2.tar.gz rust-bce56888e97f23ca4dce4c0e0021ed1924c53df2.zip | |
Rollup merge of #57598 - h-michael:unpretty-help, r=oli-obk
Add missing unpretty option help message There are some missing help messages that is printed `ructc -Zunpretty help` and receiving invalid option. related with #16419, #45721, #21085, #31916
Diffstat (limited to 'src/librustc_driver')
| -rw-r--r-- | src/librustc_driver/pretty.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_driver/pretty.rs b/src/librustc_driver/pretty.rs index d1108304d11..d980c5a3d29 100644 --- a/src/librustc_driver/pretty.rs +++ b/src/librustc_driver/pretty.rs @@ -123,7 +123,8 @@ pub fn parse_pretty(sess: &Session, sess.fatal(&format!("argument to `unpretty` must be one of `normal`, \ `expanded`, `flowgraph[,unlabelled]=<nodeid>`, \ `identified`, `expanded,identified`, `everybody_loops`, \ - `hir`, `hir,identified`, `hir,typed`, or `mir`; got {}", + `hir`, `hir,identified`, `hir,typed`, `hir-tree`, \ + `mir` or `mir-cfg`; got {}", name)); } else { sess.fatal(&format!("argument to `pretty` must be one of `normal`, `expanded`, \ |
