Skip to content

Commit 35dca7e

Browse files
committed
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!
1 parent 932c736 commit 35dca7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libsyntax/feature_gate.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,11 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
984984
"wasm_import_memory attribute is currently unstable",
985985
cfg_fn!(wasm_import_memory))),
986986

987+
("rustc_args_required_const", Whitelisted, Gated(Stability::Unstable,
988+
"rustc_attrs",
989+
"never will be stable",
990+
cfg_fn!(rustc_attrs))),
991+
987992
// Crate level attributes
988993
("crate_name", CrateLevel, Ungated),
989994
("crate_type", CrateLevel, Ungated),

0 commit comments

Comments
 (0)