Skip to content

Move tests batch 18#159309

Open
danieljofficial wants to merge 2 commits into
rust-lang:mainfrom
danieljofficial:move-tests-batch-18
Open

Move tests batch 18#159309
danieljofficial wants to merge 2 commits into
rust-lang:mainfrom
danieljofficial:move-tests-batch-18

Conversation

@danieljofficial

@danieljofficial danieljofficial commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Hi, a few more tests. Part of #133895
r? @Kivooeo

@rustbot

rustbot commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

This PR modifies tests/ui/issues/. If this PR is adding new tests to tests/ui/issues/,
please refrain from doing so, and instead add it to more descriptive subdirectories.

@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 Jul 14, 2026
@chenyukang

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

📌 Commit d1a3eb4 has been approved by chenyukang

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 Jul 15, 2026

@Kivooeo Kivooeo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sorry for jumping in after it was approved, but i do have some feedback

  • please avoid using "no-ice" in tests name, this is unnecessary information, test name should carry information about what is actually being tested.

View changes since this review

@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 Jul 15, 2026
@rustbot

rustbot commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

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

@Kivooeo

Kivooeo commented Jul 15, 2026

Copy link
Copy Markdown
Member

@bors r-

@rust-bors rust-bors Bot removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jul 15, 2026
@rust-bors

rust-bors Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved.

View changes since this unapproval

@rustbot

rustbot commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

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.

@danieljofficial

Copy link
Copy Markdown
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 Jul 15, 2026
Comment on lines +1 to 4
// Regression test for https://github.com/rust-lang/rust/issues/60218
//
// This was reported to cause ICEs.

@zedddie zedddie Jul 15, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Regression test for https://github.com/rust-lang/rust/issues/60218
//
// This was reported to cause ICEs.
//! Regression test for https://github.com/rust-lang/rust/issues/60218
//! This was reported to cause ICEs.

View changes since the review

Comment on lines 1 to +3
//@ run-pass
// Regression test for an obscure issue with the projection cache.
// https://github.com/rust-lang/rust/issues/42552

@zedddie zedddie Jul 15, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
//@ run-pass
// Regression test for an obscure issue with the projection cache.
// https://github.com/rust-lang/rust/issues/42552
//! Regression test for an obscure issue with the projection cache.
//! https://github.com/rust-lang/rust/issues/42552
//@ run-pass

View changes since the review

@zedddie

zedddie commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

My upcoming batch overlaps with some of these, glad I saw this so I can drop overlapping moves from my branch.

Comment on lines +1 to 13
//! Regression test for https://github.com/rust-lang/rust/issues/39827
//@ run-pass
#![feature(core_intrinsics)]

use std::intrinsics::{ volatile_copy_memory, volatile_store, volatile_load,
volatile_copy_nonoverlapping_memory,
volatile_set_memory };

//
// This test ensures that volatile intrinsics can be specialised with
// zero-sized types and, in case of copy/set functions, can accept
// number of elements equal to zero.
//

@zedddie zedddie Jul 15, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
//! Regression test for https://github.com/rust-lang/rust/issues/39827
//! This test ensures that volatile intrinsics can be specialised with
//! zero-sized types and, in case of copy/set functions, can accept
//! number of elements equal to zero.
//@ run-pass
#![feature(core_intrinsics)]
use std::intrinsics::{ volatile_copy_memory, volatile_store, volatile_load,
volatile_copy_nonoverlapping_memory,
volatile_set_memory };

View changes since the review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(this one overlaps with one of my already open PRs)

@zedddie zedddie Jul 15, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this one doesn't seem to be a move (it also overlaps with #159308 which is already merged, so this will likely produce a duplicate).

View changes since the review

@Kivooeo

Kivooeo commented Jul 16, 2026

Copy link
Copy Markdown
Member

@rustbot author

@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 Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

5 participants