-
Notifications
You must be signed in to change notification settings - Fork 13k
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 attributes for 1.0 #20619
Comments
The one I saw today and was worried about was |
The |
Seems related to rust-lang/rfcs#572 |
nbd if it doesn't happen |
The mechanism is already in place for this. |
I believe this has been done and can be closed. |
Certainly too late to change, regardless. |
There's probably a few/many attributes the compiler supports that we do not wish to stabilise at 1.0, but it may be hard to catch them all. We could have a whitelist of attributes that every attribute access is checked against, emitting an error if it is not in the whitelist and the feature gate (e.g.
non_whitelisted_attributes
) is not enabled.The text was updated successfully, but these errors were encountered: