about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-05-29 15:07:09 +0900
committerGitHub <noreply@github.com>2020-05-29 15:07:09 +0900
commit5207428176e0b78e5a57866b33d9e5aca7b9b112 (patch)
tree5dd5debef449ab6b1cfc901f9ffa135cc348ef24 /src
parent054fbf40190ca6685844b0f18cbaf8b92aba2b2f (diff)
parentd4ef1744f53ba0a6658174ed5b89a0935b5eb978 (diff)
Rollup merge of #72713 - rust-lang:jonas-schievink-patch-2, r=Mark-Simulacrum
Whitelist #[allow_internal_unstable]

This should hopefully work around https://github.com/rust-lang/rust/issues/65023, which currently makes almost every bootstrap fail for me.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_feature/builtin_attrs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_feature/builtin_attrs.rs b/src/librustc_feature/builtin_attrs.rs
index 44971a98cc3..524a3579710 100644
--- a/src/librustc_feature/builtin_attrs.rs
+++ b/src/librustc_feature/builtin_attrs.rs
@@ -366,7 +366,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
     // FIXME(#14407)
     ungated!(rustc_const_stable, Whitelisted, template!(List: r#"feature = "name""#)),
     gated!(
-        allow_internal_unstable, Normal, template!(Word, List: "feat1, feat2, ..."),
+        allow_internal_unstable, Whitelisted, template!(Word, List: "feat1, feat2, ..."),
         "allow_internal_unstable side-steps feature gating and stability checks",
     ),
     gated!(