Closed
Description
This compiles without a peep from the compiler:
#[no_debug]
#[omit_gdb_pretty_printer_section]
fn main() {}
The later especially seems to be purely designed for the rust testsuite, so should probably be feature gated.
(Nominating for more discussion and some sort of priority: if the decision is made to feature gate them,fixing this should just involve changing a few lines of src/libsyntax/feature_gate.rs
and then adding the appropriate feature(...)
s to the tests that use them.)
Metadata
Metadata
Assignees
Labels
Area: Attributes (`#[…]`, `#![…]`)Area: `#[stable]`, `#[unstable]` etc.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Medium priorityRelevant to the compiler team, which will review and decide on the PR/issue.