diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2014-12-27 18:19:27 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2014-12-27 18:19:27 +0900 |
| commit | 9554794d22840b5077aa4605fa49a587d3e018b6 (patch) | |
| tree | 377d605f21e29a5c3eb8988e1b375d7a3cac1ef3 /src/librustc_driver | |
| parent | c43efee6def9a4a4e943feef0236d3e17b3f581d (diff) | |
| download | rust-9554794d22840b5077aa4605fa49a587d3e018b6.tar.gz rust-9554794d22840b5077aa4605fa49a587d3e018b6.zip | |
Add unstable_options method
Diffstat (limited to 'src/librustc_driver')
| -rw-r--r-- | src/librustc_driver/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index e2791aff14e..5cd87a1e4c0 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -143,7 +143,7 @@ fn run_compiler(args: &[String]) { pretty::parse_pretty(&sess, a.as_slice(), false) }); let pretty = if pretty.is_none() && - sess.debugging_opt(config::UNSTABLE_OPTIONS) { + sess.unstable_options() { matches.opt_str("xpretty").map(|a| { // extended with unstable pretty-print variants pretty::parse_pretty(&sess, a.as_slice(), true) |
