Skip to content

Conversation

JonathanBrouwer
Copy link
Contributor

@JonathanBrouwer JonathanBrouwer commented Oct 2, 2025

Fixes #147254
I forgot to implement the T-lang decision in #143193 (comment), this implements that decision

r? @jdonszelmann
Can be reviewed commit-by-commit
This needs a beta backport

@rustbot
Copy link
Collaborator

rustbot commented Oct 2, 2025

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 Oct 2, 2025
@JonathanBrouwer JonathanBrouwer changed the title Make #[link="dl"] an FCW warning rather than an error Make #[link="dl"] an FCW rather than an error Oct 2, 2025
@cyrgani cyrgani added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 2, 2025
Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@apiraino
Copy link
Contributor

apiraino commented Oct 2, 2025

Beta backport accepted as per compiler team on Zulip. A backport PR will be authored by the release team at the end of the current development cycle. Backport labels handled by them.

@rustbot label +beta-accepted

@rustbot rustbot added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Oct 2, 2025
@traviscross traviscross added the I-lang-radar Items that are on lang's radar and will need eventual work or consideration. label Oct 2, 2025
Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good with a test nit

View changes since this review

@jieyouxu jieyouxu self-assigned this Oct 4, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Oct 4, 2025

@rustbot author

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 4, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 4, 2025

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 4, 2025
@JonathanBrouwer
Copy link
Contributor Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 4, 2025
@jieyouxu
Copy link
Member

jieyouxu commented Oct 5, 2025

Thanks
@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Oct 5, 2025

📌 Commit 1c85a1d has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors 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 Oct 5, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Oct 5, 2025
Make #[link="dl"] an FCW rather than an error

Fixes rust-lang#147254
I forgot to implement the T-lang decision in rust-lang#143193 (comment), this implements that decision

r? `@jdonszelmann`
Can be reviewed commit-by-commit
This needs a beta backport
bors added a commit that referenced this pull request Oct 5, 2025
Rollup of 3 pull requests

Successful merges:

 - #146874 (compiler: Hint at multiple crate versions if trait impl is for wrong ADT )
 - #147262 (Make #[link="dl"] an FCW rather than an error)
 - #147364 (update autodiff testcases)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Oct 5, 2025
Rollup of 5 pull requests

Successful merges:

 - #144908 (Fix doctest output json)
 - #147262 (Make #[link="dl"] an FCW rather than an error)
 - #147364 (update autodiff testcases)
 - #147367 (Trivial code cleanup in resolve)
 - #147369 (Fill out AVR target metadata)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d97e346 into rust-lang:master Oct 5, 2025
10 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Oct 5, 2025
rust-timer added a commit that referenced this pull request Oct 5, 2025
Rollup merge of #147262 - JonathanBrouwer:fix-link, r=jieyouxu

Make #[link="dl"] an FCW rather than an error

Fixes #147254
I forgot to implement the T-lang decision in #143193 (comment), this implements that decision

r? ``@jdonszelmann``
Can be reviewed commit-by-commit
This needs a beta backport
@bors
Copy link
Collaborator

bors commented Oct 5, 2025

⌛ Testing commit 1c85a1d with merge bcbbdcb...

@cuviper cuviper mentioned this pull request Oct 6, 2025
@cuviper cuviper modified the milestones: 1.92.0, 1.91.0 Oct 6, 2025
@cuviper cuviper removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 6, 2025
bors added a commit that referenced this pull request Oct 6, 2025
[beta] backports

- remove incorrect fast path #146919
- Update LLVM to 21.1.2 #146953
- Fix infinite recursion in Path::eq with String #146958
- Make #[link="dl"] an FCW rather than an error #147262

r? cuviper
bors added a commit that referenced this pull request Oct 8, 2025
[beta] backports

- remove incorrect fast path #146919
- Fix infinite recursion in Path::eq with String #146958
- Make #[link="dl"] an FCW rather than an error #147262

r? cuviper
@matthiaskrgr
Copy link
Member

@bors retry r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) beta-accepted Accepted for backporting to the compiler in the beta channel. I-lang-radar Items that are on lang's radar and will need eventual work or consideration. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

#[link="dl"] should be an FCW, not a hard error. Affects 450+ crates.

10 participants