Merge pull request #3258 from erickt/serialization
Fixing serialization no-implicit-copies warnings, and other misc cleanup
This commit is contained in:
commit
5d5cfcc005
4 changed files with 33 additions and 38 deletions
|
|
@ -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`");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue