Skip to content

Commit f225d72

Browse files
committed
Rehome tests/ui/issues/ tests [1/?]
1 parent 288e94c commit f225d72

File tree

44 files changed

+82
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+82
-24
lines changed

tests/ui/issues/issue-54062.rs renamed to tests/ui/borrowck/private-field-access-in-mutex-issue-54062.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ fn testing(test: Test) {
1010
let _ = test.comps.inner.try_lock();
1111
//~^ ERROR: field `inner` of struct `Mutex` is private
1212
}
13+
14+
// https://github.com/rust-lang/rust/issues/54062

tests/ui/issues/issue-54062.stderr renamed to tests/ui/borrowck/private-field-access-in-mutex-issue-54062.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0616]: field `inner` of struct `Mutex` is private
2-
--> $DIR/issue-54062.rs:10:24
2+
--> $DIR/private-field-access-in-mutex-issue-54062.rs:10:24
33
|
44
LL | let _ = test.comps.inner.try_lock();
55
| ^^^^^ private field

tests/ui/issues/issue-4333.rs renamed to tests/ui/cast/trait-object-cast-segfault-issue-4333.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ pub fn main() {
77
let stdout = &mut io::stdout() as &mut dyn io::Write;
88
stdout.write(b"Hello!");
99
}
10+
11+
// https://github.com/rust-lang/rust/issues/4333

tests/ui/issues/issue-36278-prefix-nesting.rs renamed to tests/ui/coercion/dynamic-size-of-prefix-correctly-issue-36278.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ fn main() {
1818
size_of_unsized = mem::size_of_val::<Ack<_>>(&y);
1919
assert_eq!(size_of_sized, size_of_unsized);
2020
}
21+
22+
// https://github.com/rust-lang/rust/issues/36278

tests/ui/issues/issue-39211.rs renamed to tests/ui/const-generics/generic-parameter-in-const-expression-issue-39211.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ fn m<M: Mat>() {
1212
}
1313
fn main() {
1414
}
15+
16+
// https://github.com/rust-lang/rust/issues/39211

tests/ui/issues/issue-39211.stderr renamed to tests/ui/const-generics/generic-parameter-in-const-expression-issue-39211.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error: constant expression depends on a generic parameter
2-
--> $DIR/issue-39211.rs:9:17
2+
--> $DIR/generic-parameter-in-const-expression-issue-39211.rs:9:17
33
|
44
LL | let a = [3; M::Row::DIM];
55
| ^^^^^^^^^^^
66
|
77
= note: this may fail depending on what value the parameter takes
88

99
error: constant expression depends on a generic parameter
10-
--> $DIR/issue-39211.rs:9:13
10+
--> $DIR/generic-parameter-in-const-expression-issue-39211.rs:9:13
1111
|
1212
LL | let a = [3; M::Row::DIM];
1313
| ^^^^^^^^^^^^^^^^

tests/ui/issues/issue-2472.rs renamed to tests/ui/cross-crate/exporting-impl-from-root-causes-ice-issue-2472.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ pub fn main() {
1111
s.foo();
1212
s.bar();
1313
}
14+
15+
// https://github.com/rust-lang/rust/issues/2472

tests/ui/issues/issue-34229.rs renamed to tests/ui/derives/invalid-derive-comparison-issue-34229.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
//~^ ERROR can't compare `Comparable`
44

55
fn main() {}
6+
7+
// https://github.com/rust-lang/rust/issues/34229

tests/ui/issues/issue-34229.stderr renamed to tests/ui/derives/invalid-derive-comparison-issue-34229.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: can't compare `Comparable` with `Comparable`
2-
--> $DIR/issue-34229.rs:2:46
2+
--> $DIR/invalid-derive-comparison-issue-34229.rs:2:46
33
|
44
LL | #[derive(PartialEq, PartialOrd)] struct Nope(Comparable);
55
| ---------- ^^^^^^^^^^ no implementation for `Comparable < Comparable` and `Comparable > Comparable`

0 commit comments

Comments
 (0)