-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Add FCW for derive helper attributes that will conflict with built-in attributes #151152
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
base: main
Are you sure you want to change the base?
Conversation
|
Some changes occurred in compiler/rustc_attr_parsing |
|
r? @chenyukang rustbot has assigned @chenyukang. Use |
This comment has been minimized.
This comment has been minimized.
54147eb to
c9b7a07
Compare
c9b7a07 to
4dda363
Compare
|
|
@bors r=chenyukang |
Adds a future-compatibility-warning deny-by-default lint that helps catch invalid derive helper attribute names early.
This issues the lint, saying that
ignorehelper will clash with the built-inignoreattribute.If you actually tried to use that
ignorehelper attribute, you won't be able to due to the ambiguity:Produces: