Skip to content

Conversation

@Ozzy1423
Copy link
Contributor

Tracking issue: #131229

Ports rustc_variance and rustc_variance_of_opaques to be parsed attributes.

Info: https://rustc-dev-guide.rust-lang.org/variance.html

@rustbot
Copy link
Collaborator

rustbot commented Jan 20, 2026

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann, @JonathanBrouwer

Some changes occurred in compiler/rustc_passes/src/check_attr.rs

cc @jdonszelmann, @JonathanBrouwer

Some changes occurred in compiler/rustc_hir/src/attrs

cc @jdonszelmann, @JonathanBrouwer

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 20, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 20, 2026

r? @wesleywiser

rustbot has assigned @wesleywiser.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@Ozzy1423
Copy link
Contributor Author

r? @JonathanBrouwer

@JonathanBrouwer
Copy link
Contributor

JonathanBrouwer commented Jan 20, 2026

There's currently 3 attribute related PRs in the queue so 99% chance this will get kicked out with conflicts, but can't hurt to try. Thanks for all your hard work on the attribute ports! <3

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 20, 2026

📌 Commit 005fcea has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 20, 2026
rust-bors bot pushed a commit that referenced this pull request Jan 21, 2026
Rollup of 6 pull requests

Successful merges:

 - #150436 (`c_variadic`: impl `va_copy` and `va_end` as Rust intrinsics)
 - #151340 (Port `#[patchable_function_entry]` to attr parser)
 - #151351 (Deduplicate diagnostics for const trait supertraits)
 - #151424 (missing colon after the compile-flags directive)
 - #151428 (Port variance attrs to attr parser.)
 - #151429 (s390x: Support aligned stack datalayout)

Failed merges:

 - #151343 (Port some crate level attrs to the attribute parser)

r? @ghost
@rust-bors rust-bors bot merged commit 0b8a935 into rust-lang:main Jan 21, 2026
11 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Jan 21, 2026
rust-timer added a commit that referenced this pull request Jan 21, 2026
Rollup merge of #151428 - attrs3, r=JonathanBrouwer

Port variance attrs to attr parser.

Tracking issue: #131229

Ports rustc_variance and rustc_variance_of_opaques to be parsed attributes.

Info: https://rustc-dev-guide.rust-lang.org/variance.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants