diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-01-15 00:09:21 +0900 |
|---|---|---|
| committer | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-01-15 18:32:18 +0900 |
| commit | 260fb31fd5d4d90d6694570c8a1964d7e1c5f81b (patch) | |
| tree | 28e445d19900ed1ace32fcc779da85a76ee6275d /src/librustc_driver | |
| parent | 1d029c67e22b272ecc7a32044710600bfa3578e5 (diff) | |
| download | rust-260fb31fd5d4d90d6694570c8a1964d7e1c5f81b.tar.gz rust-260fb31fd5d4d90d6694570c8a1964d7e1c5f81b.zip | |
Add missing unpretty option help message
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 a9ec99358c1..dfd7a14a864 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`, \ |
