-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Fix double warnings on #[no_mangle]
#147467
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: master
Are you sure you want to change the base?
Conversation
This PR modifies Some changes occurred in compiler/rustc_codegen_ssa Some changes occurred in compiler/rustc_attr_parsing |
r=me after comments are addressed @bors delegate+ |
✌️ @JonathanBrouwer, you can now approve this pull request! If @jdonszelmann told you to " |
7d484f0
to
cdc0e5f
Compare
@bors r=@jdonszelmann rollup |
Fixes 2 out of 3 cases in #147417
The fix on closures removes the old error and marks closures as an error target.
The fix on consts adds
AllowSilent
to to ignore a target, and uses the old error because that one has a nice suggestion.r? @jdonszelmann