Skip to content

Commit 47f1df5

Browse files
authored
Rollup merge of rust-lang#145676 - Oneirical:uncountable-integer-9, r=jieyouxu
Rehome 30 `tests/ui/issues/` tests to other subdirectories under `tests/ui/` [#2 of Batch #2] Part of rust-lang#133895 Methodology: 1. Refer to the previously written `tests/ui/SUMMARY.md` 2. Find an appropriate category for the test, using the original issue thread and the test contents. 3. Add the issue URL at the bottom (not at the top, as that would mess up stderr line numbers) 4. Rename the tests to make their purpose clearer Inspired by the methodology that `@Kivooeo` was using. r? `@jieyouxu`
2 parents e15744e + 2dc4638 commit 47f1df5

File tree

40 files changed

+41
-37
lines changed

40 files changed

+41
-37
lines changed

tests/ui/issues/issue-7092.rs renamed to tests/ui/binding/method-call-nonsensical-pattern-binding-7092.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/rust-lang/rust/issues/7092
12
enum Whatever {
23
}
34

tests/ui/issues/issue-7092.stderr renamed to tests/ui/binding/method-call-nonsensical-pattern-binding-7092.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0308]: mismatched types
2-
--> $DIR/issue-7092.rs:6:9
2+
--> $DIR/method-call-nonsensical-pattern-binding-7092.rs:7:9
33
|
44
LL | match x {
55
| - this expression has type `Whatever`

tests/ui/issues/issue-54094.rs renamed to tests/ui/cast/associated-type-bounds-cast-54094.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/rust-lang/rust/issues/54094
12
//@ check-pass
23
trait Zoo {
34
type X;

tests/ui/issues/issue-54462-mutable-noalias-correctness.rs renamed to tests/ui/codegen/matrix-row-swap-54462.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/rust-lang/rust/issues/54462
12
//@ run-pass
23
//
34
//@ compile-flags: -Ccodegen-units=1 -O

tests/ui/coercion/mut-trait-coercion-8248.stderr renamed to tests/ui/coercion/coerce-mut-trait-object-8248.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
warning: method `dummy` is never used
2-
--> $DIR/mut-trait-coercion-8248.rs:5:8
2+
--> $DIR/coerce-mut-trait-object-8248.rs:5:8
33
|
44
LL | trait A {
55
| - method in this trait

0 commit comments

Comments
 (0)