diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-02-08 12:48:25 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-02-08 13:38:58 -0800 |
| commit | 35dca7edd3e5181459c8e410a59a1b6e3e97a360 (patch) | |
| tree | 87fd17814b3d96784b424940e7d7bc0a1b5dca53 /src/libsyntax | |
| parent | 932c736479f43dc8893a924946e4335d8e308c2e (diff) | |
| download | rust-35dca7edd3e5181459c8e410a59a1b6e3e97a360.tar.gz rust-35dca7edd3e5181459c8e410a59a1b6e3e97a360.zip | |
Add `rustc_args_required_const` to the feature whitelist
Unfortunately left out it means that when the `#![feature(proc_macro)]` flag is in effect it fails to find `rustc_args_required_const` for expansion. This version, however, is verified to work with stdsimd's requirements!
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 9c6520cd874..ae0556320b0 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -984,6 +984,11 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG "wasm_import_memory attribute is currently unstable", cfg_fn!(wasm_import_memory))), + ("rustc_args_required_const", Whitelisted, Gated(Stability::Unstable, + "rustc_attrs", + "never will be stable", + cfg_fn!(rustc_attrs))), + // Crate level attributes ("crate_name", CrateLevel, Ungated), ("crate_type", CrateLevel, Ungated), |
