about summary refs log tree commit diff
path: root/src/librustc_errors
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-11 16:36:54 +0100
committerGitHub <noreply@github.com>2020-02-11 16:36:54 +0100
commitec0cfd1d0150b3d9ba3d938b1d3d31cb6050524f (patch)
tree06b301d80abbc994652b957e94f9a59a6a8b95b5 /src/librustc_errors
parentb6690a8c35e9afa3e0f65140cc69d4ba1b9e78c4 (diff)
parent3e57a0afb57decd347fe9133dd3d37dd0fb5dbec (diff)
Rollup merge of #66498 - bjorn3:less_feature_flags, r=Dylan-DPC
Remove unused feature gates

I think many of the remaining unstable things can be easily be replaced with stable things. I have kept the `#![feature(nll)]` even though it is only necessary in `libstd`, to make regressions of it harder.
Diffstat (limited to 'src/librustc_errors')
-rw-r--r--src/librustc_errors/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs
index 97667febc3c..594e813def8 100644
--- a/src/librustc_errors/lib.rs
+++ b/src/librustc_errors/lib.rs
@@ -4,9 +4,7 @@
 
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
 #![feature(crate_visibility_modifier)]
-#![cfg_attr(unix, feature(libc))]
 #![feature(nll)]
-#![feature(optin_builtin_traits)]
 
 pub use emitter::ColorConfig;