about summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-08-23 09:37:21 -0700
committerBen Blum <bblum@andrew.cmu.edu>2012-08-23 09:37:21 -0700
commit5d5cfcc005f0658b257225b7809db3f18b03be77 (patch)
treed38fb50358cc112352a86925287e1182cbdf5e62 /src/rustc
parent511e7626aebe7a8a41c3be1c6fbd16c92e8f9386 (diff)
parentd8988fe220865034f50b936dc5e219a1b6347314 (diff)
Merge pull request #3258 from erickt/serialization
Fixing serialization no-implicit-copies warnings, and other misc cleanup
Diffstat (limited to 'src/rustc')
-rw-r--r--src/rustc/driver/driver.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rustc/driver/driver.rs b/src/rustc/driver/driver.rs
index 65875af6b7f..be113d4e992 100644
--- a/src/rustc/driver/driver.rs
+++ b/src/rustc/driver/driver.rs
@@ -583,8 +583,9 @@ fn parse_pretty(sess: session, &&name: ~str) -> pp_mode {
       ~"expanded,identified" => ppm_expanded_identified,
       ~"identified" => ppm_identified,
       _ => {
-        sess.fatal(~"argument to `pretty` must be one of `normal`, `typed`, \
-                     or `identified`");
+        sess.fatal(~"argument to `pretty` must be one of `normal`, \
+                     `expanded`, `typed`, `identified`, \
+                     or `expanded,identified`");
       }
     }
 }