-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Port #[allow_internal_unsafe]
to the new attribute system
#144857
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
|
Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in compiler/rustc_passes/src/check_attr.rs Some changes occurred in compiler/rustc_hir/src/attrs |
#[allow_internal_unsafe]
to the new attribute system#[allow_internal_unsafe]
to the new attribute system
da3e3f7
to
4c5e5a9
Compare
This comment has been minimized.
This comment has been minimized.
4c5e5a9
to
0404952
Compare
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.
@bors r+ rollup
if attr.has_name(sym::allow_internal_unsafe) { | ||
if AttributeParser::parse_limited( | ||
cx.builder.sess(), | ||
slice::from_ref(attr), |
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 didn't know this function existed
@bors r- |
oops, conflicts |
@bors delegate+ r=me after a rebase |
✌️ @scrabsha, you can now approve this pull request! If @jdonszelmann told you to " |
Related to #131229 (comment).
r? @jdonszelmann