Merge pull request #3258 from erickt/serialization

Fixing serialization no-implicit-copies warnings, and other misc cleanup
This commit is contained in:
Ben Blum 2012-08-23 09:37:21 -07:00
commit 5d5cfcc005
4 changed files with 33 additions and 38 deletions

View file

@ -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`");
}
}
}