rust/compiler/rustc_session
Jonathan Brouwer 096bb5b615
Rollup merge of #150236 - Bryntet:parse_rustc_must_impl, r=JonathanBrouwer
Port `#[rustc_must_implement_one_of]` to attribute parser

Stumbled upon a weird (bug ?) behaviour while making this PR

it seems like it is possible to reach `check_attr.rs` checks without the attribute allowed target checks having already been finished, I added a comment about how to reproduce this in `check_attr.rs`

otherwise good to note is that a bunch of code was moved from `compiler/rustc_hir_analysis/src/collect.rs` to `check_attr.rs`

r? `@JonathanBrouwer`
2025-12-26 21:50:17 +01:00
..
src Rollup merge of #150236 - Bryntet:parse_rustc_must_impl, r=JonathanBrouwer 2025-12-26 21:50:17 +01:00
Cargo.toml Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
messages.ftl Port #[rustc_must_implement_one_of] to attribute parser 2025-12-26 19:08:21 +01:00