diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-24 13:26:16 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-25 16:39:00 -0700 |
| commit | 54f16b818b58f6d6e81891b041fc751986e75155 (patch) | |
| tree | 8010d72c9d5baa5420b91215ac93b4ff49523f95 /src/librustc_driver | |
| parent | a923278c6278c63468d74772c58dbf788e88f58c (diff) | |
| download | rust-54f16b818b58f6d6e81891b041fc751986e75155.tar.gz rust-54f16b818b58f6d6e81891b041fc751986e75155.zip | |
rustc: Remove support for int/uint
This commit removes all parsing, resolve, and compiler support for the old and long-deprecated int/uint types.
Diffstat (limited to 'src/librustc_driver')
| -rw-r--r-- | src/librustc_driver/driver.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 4c654cbf27d..dc06bb96152 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -501,8 +501,7 @@ pub fn phase_2_configure_and_expand(sess: &Session, let features = syntax::feature_gate::check_crate(sess.codemap(), &sess.parse_sess.span_diagnostic, - &krate, - true); + &krate); *sess.features.borrow_mut() = features; sess.abort_if_errors(); }); @@ -532,8 +531,7 @@ pub fn phase_2_configure_and_expand(sess: &Session, let features = syntax::feature_gate::check_crate(sess.codemap(), &sess.parse_sess.span_diagnostic, - &krate, - false); + &krate); *sess.features.borrow_mut() = features; sess.abort_if_errors(); }); |
