about summary refs log tree commit diff
path: root/src/librustc/driver
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-29 08:12:51 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-29 08:12:51 -0700
commit792e32bcfc121a64ce59664949cf4e5df71cf201 (patch)
tree5637d17805b711816b8534efda5cb7976a6cd27c /src/librustc/driver
parent757fa6ffbaea0c2ddfba31d6c5777f0a61722947 (diff)
parentfc1b908322a5a2ebf8aa599d7178accdd3cbaed9 (diff)
downloadrust-792e32bcfc121a64ce59664949cf4e5df71cf201.tar.gz
rust-792e32bcfc121a64ce59664949cf4e5df71cf201.zip
rollup merge of #17576 : kmcallister/hide-quotes
Diffstat (limited to 'src/librustc/driver')
-rw-r--r--src/librustc/driver/driver.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc/driver/driver.rs b/src/librustc/driver/driver.rs
index 80e507b7a79..3a4b05ba00a 100644
--- a/src/librustc/driver/driver.rs
+++ b/src/librustc/driver/driver.rs
@@ -288,8 +288,9 @@ pub fn phase_2_configure_and_expand(sess: &Session,
                 os::setenv("PATH", os::join_paths(new_path.as_slice()).unwrap());
             }
             let cfg = syntax::ext::expand::ExpansionConfig {
-                deriving_hash_type_parameter: sess.features.borrow().default_type_params,
                 crate_name: crate_name.to_string(),
+                deriving_hash_type_parameter: sess.features.borrow().default_type_params,
+                enable_quotes: sess.features.borrow().quote,
             };
             let ret = syntax::ext::expand::expand_crate(&sess.parse_sess,
                                               cfg,