-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whitelist #[allow_internal_unstable] #72713
Conversation
This should hopefully work around #65023, which currently makes almost every bootstrap fail for me.
(rust_highfive has picked a reviewer for you, use r? to override) |
Gah. Would be great to fix these lints to work properly. Approving since it seems like a low-loss and quite harmful to productivity change. @bors r+ |
📌 Commit d4ef174 has been approved by |
@@ -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, ..."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be a good idea to add a FIXME mentioning that this should eventually be changed back to Normal
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in the long term Whitelisted should just not exist, right? But r=me with such a comment too.
Rollup of 11 pull requests Successful merges: - rust-lang#71633 (Impl Error for Infallible) - rust-lang#71843 (Tweak and stabilize AtomicN::fetch_update) - rust-lang#72288 (Stabilization of weak-into-raw) - rust-lang#72324 (Stabilize AtomicN::fetch_min and AtomicN::fetch_max) - rust-lang#72452 (Clarified the documentation for Formatter::precision) - rust-lang#72495 (Improve E0601 explanation) - rust-lang#72534 (Improve missing `@` in slice binding pattern diagnostics) - rust-lang#72547 (Added a codegen test for a recent optimization for overflow-checks=on) - rust-lang#72711 (remove redundant `mk_const`) - rust-lang#72713 (Whitelist #[allow_internal_unstable]) - rust-lang#72720 (Clarify the documentation of `take`) Failed merges: r? @ghost
This should hopefully work around #65023, which currently makes almost every bootstrap fail for me.