Skip to content

Allow only a single accepter per attribute#152288

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
JonathanBrouwer:one_accepter_per_attr
Feb 8, 2026
Merged

Allow only a single accepter per attribute#152288
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
JonathanBrouwer:one_accepter_per_attr

Conversation

@JonathanBrouwer
Copy link
Contributor

This is what we discussed last thursday, that we don't need to support this.

r? @jdonszelmann

@rustbot
Copy link
Collaborator

rustbot commented Feb 7, 2026

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann

@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 Feb 7, 2026
@JonathanBrouwer
Copy link
Contributor Author

Don't expect this to affect perf, but just in case
@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
Allow only a single accepter per attribute
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 7, 2026
@jdonszelmann
Copy link
Contributor

r=me after perf

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 7, 2026

☀️ Try build successful (CI)
Build commit: 18f46a4 (18f46a4777707bbf52a7b21ec131715fbaa74429, parent: 06cafcbe08b1b0d4235685abd5f817ae1979cefa)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (18f46a4): comparison URL.

Overall result: ❌ regressions - no action needed

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

@bors rollup=never
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.2% [0.1%, 0.5%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary 0.9%, secondary 0.9%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.8% [1.5%, 2.1%] 2
Regressions ❌
(secondary)
5.7% [5.5%, 6.0%] 2
Improvements ✅
(primary)
-0.9% [-0.9%, -0.9%] 1
Improvements ✅
(secondary)
-2.3% [-2.4%, -2.1%] 3
All ❌✅ (primary) 0.9% [-0.9%, 2.1%] 3

Cycles

Results (secondary -4.2%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-4.2% [-5.0%, -3.4%] 2
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 473.906s -> 473.845s (-0.01%)
Artifact size: 397.97 MiB -> 397.94 MiB (-0.01%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 7, 2026
@JonathanBrouwer
Copy link
Contributor Author

That just looks like noise to me
@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 7, 2026

📌 Commit fd7ff90 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 Feb 7, 2026
@JonathanBrouwer
Copy link
Contributor Author

Whoops I meant
@bors r=jdonszelmann

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 7, 2026

📌 Commit fd7ff90 has been approved by jdonszelmann

It is now in the queue for this repository.

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 7, 2026
…ttr, r=jdonszelmann

Allow only a single accepter per attribute

This is what we discussed last thursday, that we don't need to support this.

r? @jdonszelmann
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 7, 2026
…ttr, r=jdonszelmann

Allow only a single accepter per attribute

This is what we discussed last thursday, that we don't need to support this.

r? @jdonszelmann
rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap)
 - #152217 (Convert to inline diagnostics in `rustc_lint`)
 - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees)
 - #152261 (Introduce helper `ty::Generics::has_own_self`)
 - #152288 (Allow only a single accepter per attribute)
 - #152292 (Minor change for readability)
 - #152300 (Port `rustc_regions` to the new attribute parser)
rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap)
 - #152217 (Convert to inline diagnostics in `rustc_lint`)
 - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees)
 - #152261 (Introduce helper `ty::Generics::has_own_self`)
 - #152288 (Allow only a single accepter per attribute)
 - #152292 (Minor change for readability)
 - #152300 (Port `rustc_regions` to the new attribute parser)
rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap)
 - #152217 (Convert to inline diagnostics in `rustc_lint`)
 - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees)
 - #152261 (Introduce helper `ty::Generics::has_own_self`)
 - #152288 (Allow only a single accepter per attribute)
 - #152292 (Minor change for readability)
 - #152300 (Port `rustc_regions` to the new attribute parser)
rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap)
 - #152217 (Convert to inline diagnostics in `rustc_lint`)
 - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees)
 - #152261 (Introduce helper `ty::Generics::has_own_self`)
 - #152288 (Allow only a single accepter per attribute)
 - #152292 (Minor change for readability)
 - #152300 (Port `rustc_regions` to the new attribute parser)
@rust-bors rust-bors bot merged commit f8580ec into rust-lang:main Feb 8, 2026
12 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 8, 2026
rust-timer added a commit that referenced this pull request Feb 8, 2026
Rollup merge of #152288 - JonathanBrouwer:one_accepter_per_attr, r=jdonszelmann

Allow only a single accepter per attribute

This is what we discussed last thursday, that we don't need to support this.

r? @jdonszelmann
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