rust/compiler/rustc_passes
bors d9617c8d9a Auto merge of #150310 - JonathanBrouwer:cfg_trace2, r=jdonszelmann
Port `#[cfg]` and `#[cfg_attr]` trace attributes to the new attribute parsers

This PR converts `cfg` and `cfg_trace` attributes to the new parsed representation.

The primary challenge is that re-parsing these attributes in the HIR is a performance regression, since these attributes were only used in rustdoc and clippy parsing them in the HIR is extra work that was not done in the compiler before. To solve this, we only parse the attributes once and then store their parsed representation in the AST.
2026-01-06 22:59:32 +00:00
..
src Auto merge of #150310 - JonathanBrouwer:cfg_trace2, r=jdonszelmann 2026-01-06 22:59:32 +00:00
Cargo.toml Continue migration to new Attribute API for doc attribute 2025-12-10 12:27:33 +01:00
messages.ftl Port #[rustc_must_implement_one_of] to attribute parser 2025-12-26 19:08:21 +01:00