]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #47440 - mark-i-m:zunpretty, r=nikomatsakis
authorkennytm <kennytm@gmail.com>
Tue, 23 Jan 2018 09:03:35 +0000 (17:03 +0800)
committerGitHub <noreply@github.com>
Tue, 23 Jan 2018 09:03:35 +0000 (17:03 +0800)
commit150f2baca82726eca4b0bc68a070f1b0015e954c
tree0d0e89aa3b83d2a283a8f016d79fa0b9d0637ef9
parent0c9b3ec5b0669be0d61f970c190fdaee3460fe74
parentebfa6c709aecb12a164695912785643d916e75fb
Rollup merge of #47440 - mark-i-m:zunpretty, r=nikomatsakis

Change the --unpretty flag to -Z unpretty

First PR :smile: !

-Z unpretty no longer requires -Z unstable-options.

Also, I mildly changed the syntax of the flag to match the other -Z flags. All uses of the flag take the form `unpretty=something` where something can either `string` or `string=string` (see the help messages of the CLI).

Fix #47395

r? @nikomatsakis EDIT: apparently rust-highfive doesn't see edits...
src/librustc/session/config.rs
src/librustc_driver/lib.rs
src/librustc_driver/pretty.rs