-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Port #[omit_gdb_pretty_printer_section]
to the new attribute parsing
#143855
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?
Port #[omit_gdb_pretty_printer_section]
to the new attribute parsing
#143855
Conversation
…g infrastructure Signed-off-by: Jonathan Brouwer <[email protected]>
|
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_attr_data_structures |
|
||
impl<S: Stage> NoArgsAttributeParser<S> for OmitGdbPrettyPrinterSectionParser { | ||
const PATH: &[Symbol] = &[sym::omit_gdb_pretty_printer_section]; | ||
const ON_DUPLICATE: OnDuplicate<S> = OnDuplicate::Error; |
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.
This is a rustc internal attribute, forever unstable, so making this an error (was ignored before) should not matter
@bors r+ rollup |
Ports
#[omit_gdb_pretty_printer_section]
to the new attribute parsing infrastructure for #131229 (comment)r? @jdonszelmann