Skip to content

Use edition ranges in tests/ui (Batch 1)#151464

Open
pvdrz wants to merge 6 commits intorust-lang:mainfrom
ferrocene:pvdrz/edition-range-batch-1
Open

Use edition ranges in tests/ui (Batch 1)#151464
pvdrz wants to merge 6 commits intorust-lang:mainfrom
ferrocene:pvdrz/edition-range-batch-1

Conversation

@pvdrz
Copy link
Contributor

@pvdrz pvdrz commented Jan 21, 2026

r? @fmease

pvdrz and others added 6 commits January 21, 2026 11:09
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Ana Hobden <ana.hobden@ferrous-systems.com>
@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 Jan 21, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 21, 2026

fmease is not on the review rotation at the moment.
They may take a while to respond.

@pvdrz
Copy link
Contributor Author

pvdrz commented Jan 21, 2026

I'm trying to do this in smaller batches for ease of review and to diminish the chance of the PR becoming stale

Copy link
Member

@fmease fmease left a comment

Choose a reason for hiding this comment

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

I've only reviewed the 1st commit so far but I'll post the review comments I wrote a few days ago. I hope to get to the other commits / finish my review in the next days, they look much smaller anyway.

View changes since this review

Comment on lines +2 to +3
//@[edition2015]edition:2015
//@[edition2018]edition:2018
Copy link
Member

Choose a reason for hiding this comment

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

The stderr files for edition2015 and edition2018 are identical as far as I can tell, for which reason did you split them instead of keeping them combined as 2015..2021?

//@ revisions: edition2015 edition2018 edition2021
//@[edition2015]edition:2015
//@[edition2018]edition:2018
//@[edition2021]edition:2021..
Copy link
Member

Choose a reason for hiding this comment

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

Strictly speaking, 2021.. isn't "edition2021". I think I'd prefer a different name for that revision, edition2021up or edition2021onwards, idk.

Copy link
Member

Choose a reason for hiding this comment

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

I find it quite unfortunate and a bit unreasonable that we have to basically duplicate a huge stderr file for a single label change (unexpected argument #2unexpected argument #2 of type `!`). Hmm, however splitting out that test cases probably doesn't make sense either due to the large test setup. I don't know what's the call here..

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 18, 2026

☔ The latest upstream changes (presumably #152785) made this pull request unmergeable. Please resolve the merge conflicts.

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.

3 participants

Comments