Skip to content

Move some ui tests#153594

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
reddevilmidzy:ui-refactor
Mar 9, 2026
Merged

Move some ui tests#153594
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
reddevilmidzy:ui-refactor

Conversation

@reddevilmidzy
Copy link
Member

Note

I split the commits to make the review easier and to keep the git history easier to trace.

Renamed issue-xxx tests

tests/ui/dyn-drop -> tests/ui/dyn-keyword
tests/ui/missing-trait-bounds -> tests/ui/trait-bound/missing-trait-bounds
tests/ui/recursion_limit -> tests/ui/recursion/recursion_limit
tests/ui/version -> tests/ui/compile-flags

Reorganize tests/ui/empty

@rustbot rustbot added A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 9, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 9, 2026

r? @JohnTitor

rustbot has assigned @JohnTitor.
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 69 candidates
  • Random selection from 16 candidates

@Kivooeo Kivooeo assigned Kivooeo and unassigned JohnTitor Mar 9, 2026
@JohnTitor
Copy link
Member

Looks good! r=me once CI passes

@Kivooeo
Copy link
Member

Kivooeo commented Mar 9, 2026

not sure, but if you originally intended to squash commits, it's good time to do so

@reddevilmidzy
Copy link
Member Author

@bors squash

@rust-bors

This comment has been minimized.

* Move dyn-drop to dyn-keyword
* Reorganize `tests/ui/empty` into specific dirs

remove tests/ui/empty/empty-linkname.rs duplicate of tests/ui/error-codes/E0454.rs
* Move `missing-trait-bounds` to `trait-bound/missing-trait-bounds`
* bless traits/missing-trait-bounds tests
* Move `recursion_limit` to `recursion/recursion_limit`
* Move `version` to `compile-flags`
@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 9, 2026

🔨 6 commits were squashed into e636647.

@Kivooeo
Copy link
Member

Kivooeo commented Mar 9, 2026

@bors r=JohnTitor,Kivooeo rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 9, 2026

📌 Commit e636647 has been approved by JohnTitor,Kivooeo

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 Mar 9, 2026
rust-bors bot pushed a commit that referenced this pull request Mar 9, 2026
…uwer

Rollup of 11 pull requests

Successful merges:

 - #152847 (Test for armv7 `get_unchecked(...)` inlining)
 - #153290 (tests: codegen-llvm: iter-repeat-n-trivial-drop: Allow non-zero lower bound to __rust_alloc size)
 - #153413 (std: organise `sys::pal::os`)
 - #139692 (Rustfmt now support use closures)
 - #152800 (Adds recursion limit into FindParamInClause)
 - #153244 (tools: remote-test-server: Add UEFI run support)
 - #153305 (Adapt codegen test to accept operand bundles)
 - #153340 (tweak r-a default settings)
 - #153509 (Cleanup unused diagnostic emission methods - part 2)
 - #153527 (Fix LegacyKeyValueFormat report from docker build: ohos)
 - #153594 (Move some ui tests)
@rust-bors rust-bors bot merged commit 2d9fde7 into rust-lang:main Mar 9, 2026
11 checks passed
rust-timer added a commit that referenced this pull request Mar 9, 2026
Rollup merge of #153594 - reddevilmidzy:ui-refactor, r=JohnTitor,Kivooeo

Move some ui tests

> [!NOTE]
> I split the commits to make the review easier and to keep the git history easier to trace.

Renamed issue-xxx tests

`tests/ui/dyn-drop` -> `tests/ui/dyn-keyword`
`tests/ui/missing-trait-bounds` -> `tests/ui/trait-bound/missing-trait-bounds`
`tests/ui/recursion_limit` -> `tests/ui/recursion/recursion_limit`
`tests/ui/version` -> `tests/ui/compile-flags`

Reorganize `tests/ui/empty`
@rustbot rustbot added this to the 1.96.0 milestone Mar 9, 2026
@reddevilmidzy reddevilmidzy deleted the ui-refactor branch March 9, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tidy Area: The tidy tool S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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