about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-27 09:02:18 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-09-27 19:54:25 +0200
commit99204028acce6b9ec3b93e361eb04667ea8a09c8 (patch)
treec336cc3b26755baf2cf6a053b002e0182d78f774
parent0022baae0042b1f052a08f8a06f0015f1dd8a79f (diff)
downloadrust-99204028acce6b9ec3b93e361eb04667ea8a09c8.tar.gz
rust-99204028acce6b9ec3b93e361eb04667ea8a09c8.zip
-Z unpretty message: include expanded,hygiene
-rw-r--r--src/librustc_driver/pretty.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_driver/pretty.rs b/src/librustc_driver/pretty.rs
index 3382b70b35b..0de5b700b4f 100644
--- a/src/librustc_driver/pretty.rs
+++ b/src/librustc_driver/pretty.rs
@@ -101,9 +101,9 @@ pub fn parse_pretty(sess: &Session,
             if extended {
                 sess.fatal(&format!("argument to `unpretty` must be one of `normal`, \
                                      `expanded`, `identified`, `expanded,identified`, \
-                                     `everybody_loops`, `hir`, `hir,identified`, \
-                                     `hir,typed`, `hir-tree`, `mir` or `mir-cfg`; \
-                                     got {}",
+                                     `expanded,hygiene`, `everybody_loops`, \
+                                     `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`, \