Skip to content

Add more tests for the optimize attribute#157297

Open
veluca93 wants to merge 1 commit into
rust-lang:mainfrom
veluca93:more-optimize-tests
Open

Add more tests for the optimize attribute#157297
veluca93 wants to merge 1 commit into
rust-lang:mainfrom
veluca93:more-optimize-tests

Conversation

@veluca93
Copy link
Copy Markdown
Contributor

@veluca93 veluca93 commented Jun 2, 2026

View all comments

Tracking issue: #54882
Stabilization PR: #157273

@rustbot rustbot added 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 Jun 2, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Jun 2, 2026

r? @dingxiangfei2009

rustbot has assigned @dingxiangfei2009.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 73 candidates
  • Random selection from 17 candidates

Copy link
Copy Markdown
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.

Thanks, a few more coverage nits
@rustbot author

View changes since this review

Comment thread tests/ui/attributes/malformed-attrs.rs
Comment thread tests/ui/attributes/optimize.rs
Comment thread tests/ui/attributes/optimize.rs
@rustbot rustbot 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-review Status: Awaiting review from the assignee but also interested parties. labels Jun 2, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Jun 2, 2026

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

Comment thread tests/ui/attributes/malformed-attrs.rs
@jieyouxu jieyouxu self-assigned this Jun 2, 2026
@rust-bors

This comment has been minimized.

@veluca93 veluca93 force-pushed the more-optimize-tests branch from 534f1da to 14b4baf Compare June 2, 2026 20:37
@veluca93
Copy link
Copy Markdown
Contributor Author

veluca93 commented Jun 2, 2026

@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 Jun 2, 2026
@veluca93 veluca93 force-pushed the more-optimize-tests branch from 14b4baf to 1333de7 Compare June 2, 2026 21:26
@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

Copy link
Copy Markdown
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.

Thanks, looks good but needs a rebase.

View changes since this review

@veluca93 veluca93 force-pushed the more-optimize-tests branch from 1333de7 to fba4788 Compare June 3, 2026 06:30
@rustbot

This comment has been minimized.

Copy link
Copy Markdown
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.

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Jun 3, 2026

📌 Commit fba4788 has been approved by jieyouxu

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 Jun 3, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jun 3, 2026
…eyouxu

Add more tests for the `optimize` attribute

Tracking issue: rust-lang#54882
Stabilization PR: rust-lang#157273
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jun 3, 2026
…eyouxu

Add more tests for the `optimize` attribute

Tracking issue: rust-lang#54882
Stabilization PR: rust-lang#157273
@JonathanBrouwer
Copy link
Copy Markdown
Contributor

JonathanBrouwer commented Jun 3, 2026

💔 I suspect this PR failed tests as part of a rollup
@bors r-

Link to failure: #157375 (comment)

Caused by a soft conflict with #157332, please rebase and reapprove after that merges

@rust-bors rust-bors Bot 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 Jun 3, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Jun 3, 2026

This pull request was unapproved.

This PR was contained in a rollup (#157375), which was unapproved.

View changes since this unapproval

@jieyouxu
Copy link
Copy Markdown
Member

jieyouxu commented Jun 3, 2026

I'll give this a slight p and don't rollup since this change seems conflict prone, and has now bounced twice.
@bors p=1 rollup=never

@rust-bors

This comment has been minimized.

@veluca93 veluca93 force-pushed the more-optimize-tests branch from fba4788 to e63c09f Compare June 3, 2026 18:44
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Jun 3, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@veluca93
Copy link
Copy Markdown
Contributor Author

veluca93 commented Jun 3, 2026

@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 Jun 3, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Note that #157332 hasn't merged yet, so we need to wait with approving this still. That pr conflicted with yet another pr and had to wait a rollup 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants