Skip to content

Commit 2441737

Browse files
committed
Rehome tests/ui/issues/ tests [6/?]
1 parent 0120d7d commit 2441737

File tree

78 files changed

+141
-47
lines changed

Some content is hidden

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

78 files changed

+141
-47
lines changed

tests/ui/issues/issue-8498.rs renamed to tests/ui/array-slice-vec/matching-on-vector-slice-option-issue-8498.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ pub fn main() {
2525
None => ()
2626
}
2727
}
28+
29+
// https://github.com/rust-lang/rust/issues/8498

tests/ui/issues/issue-7784.rs renamed to tests/ui/array-slice-vec/pattern-matching-fixed-length-vectors-issue-7784.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ fn main() {
2828
assert_eq!(xs, ["foo", "foo"]);
2929
assert_eq!(d, "baz");
3030
}
31+
32+
// https://github.com/rust-lang/rust/issues/7784

tests/ui/issues/issue-78622.rs renamed to tests/ui/associated-consts/ambiguous-associated-type-error-issue-78622.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ fn f() {
55
S::A::<f> {}
66
//~^ ERROR ambiguous associated type
77
}
8+
9+
// https://github.com/rust-lang/rust/issues/78622

tests/ui/issues/issue-78622.stderr renamed to tests/ui/associated-consts/ambiguous-associated-type-error-issue-78622.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0223]: ambiguous associated type
2-
--> $DIR/issue-78622.rs:5:5
2+
--> $DIR/ambiguous-associated-type-error-issue-78622.rs:5:5
33
|
44
LL | S::A::<f> {}
55
| ^^^^

tests/ui/issues/issue-77218/issue-77218.rs renamed to tests/ui/binding/invalid-assignment-in-while-loop-issue-77218.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ fn main() {
33
let value = [7u8];
44
while Some(0) = value.get(0) {} //~ ERROR invalid left-hand side of assignment
55
}
6+
7+
// https://github.com/rust-lang/rust/issues/77218

tests/ui/issues/issue-77218/issue-77218.stderr renamed to tests/ui/binding/invalid-assignment-in-while-loop-issue-77218.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0070]: invalid left-hand side of assignment
2-
--> $DIR/issue-77218.rs:4:19
2+
--> $DIR/invalid-assignment-in-while-loop-issue-77218.rs:4:19
33
|
44
LL | while Some(0) = value.get(0) {}
55
| - ^

tests/ui/issues/issue-8391.rs renamed to tests/ui/binding/match-with-at-binding-issue-8391.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ fn main() {
77
};
88
assert_eq!(x, 1);
99
}
10+
11+
// https://github.com/rust-lang/rust/issues/8391

tests/ui/issues/issue-8860.rs renamed to tests/ui/binding/ref-in-function-parameter-patterns-issue-8860.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ fn main() {
4949
assert_eq!(1, DROP_T);
5050
}
5151
}
52+
53+
// https://github.com/rust-lang/rust/issues/8860

0 commit comments

Comments
 (0)