-Z unpretty message: include expanded,hygiene

This commit is contained in:
Mazdak Farrokhzad 2019-09-27 09:02:18 +02:00
parent 0022baae00
commit 99204028ac

View File

@ -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`, \