Skip to content

Commit cfa71a1

Browse files
committed
rustc: add all the pretty printer modes to error message
1 parent 4ef1d9d commit cfa71a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rustc/driver/driver.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,9 @@ fn parse_pretty(sess: session, &&name: ~str) -> pp_mode {
583583
~"expanded,identified" => ppm_expanded_identified,
584584
~"identified" => ppm_identified,
585585
_ => {
586-
sess.fatal(~"argument to `pretty` must be one of `normal`, `typed`, \
587-
or `identified`");
586+
sess.fatal(~"argument to `pretty` must be one of `normal`, \
587+
`expanded`, `typed`, `identified`, \
588+
or `expanded,identified`");
588589
}
589590
}
590591
}

0 commit comments

Comments
 (0)