Skip to content

Commit 7f92973

Browse files
committed
Rehome tests/ui/issues/ tests [2/?]
1 parent f225d72 commit 7f92973

17 files changed

+32
-12
lines changed

tests/ui/issues/issue-12909.rs renamed to tests/ui/array-slice-vec/collection-type-copy-behavior-issue-12909.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ fn main() {
1717
let m2: HashMap<isize, _> = arr.iter().map(copy).collect();
1818
let m3: HashMap<_, usize> = arr.iter().map(copy).collect();
1919
}
20+
21+
// https://github.com/rust-lang/rust/issues/12909

tests/ui/issues/issue-54044.rs renamed to tests/ui/attributes/cold-attribute-application-issue-54044.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ fn main() {
1111
//~| WARN this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1212
5; //~ NOTE not a function
1313
}
14+
15+
// https://github.com/rust-lang/rust/issues/54044

tests/ui/issues/issue-54044.stderr renamed to tests/ui/attributes/cold-attribute-application-issue-54044.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: attribute should be applied to a function definition
2-
--> $DIR/issue-54044.rs:3:1
2+
--> $DIR/cold-attribute-application-issue-54044.rs:3:1
33
|
44
LL | #[cold]
55
| ^^^^^^^
@@ -9,13 +9,13 @@ LL | struct Foo;
99
|
1010
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1111
note: the lint level is defined here
12-
--> $DIR/issue-54044.rs:1:9
12+
--> $DIR/cold-attribute-application-issue-54044.rs:1:9
1313
|
1414
LL | #![deny(unused_attributes)]
1515
| ^^^^^^^^^^^^^^^^^
1616

1717
error: attribute should be applied to a function definition
18-
--> $DIR/issue-54044.rs:9:5
18+
--> $DIR/cold-attribute-application-issue-54044.rs:9:5
1919
|
2020
LL | #[cold]
2121
| ^^^^^^^

tests/ui/issues/issue-9918.rs renamed to tests/ui/cast/u8-to-char-cast-issue-9918.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
pub fn main() {
44
assert_eq!((0 + 0u8) as char, '\0');
55
}
6+
7+
// https://github.com/rust-lang/rust/issues/9918

tests/ui/issues/issue-36116.rs renamed to tests/ui/generics/unnecessary-path-disambiguator-issue-36116.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ fn f() {
2323
}
2424

2525
fn main() {}
26+
27+
// https://github.com/rust-lang/rust/issues/36116

tests/ui/issues/issue-15673.rs renamed to tests/ui/iterators/iterator-type-inference-sum-issue-15673.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ fn main() {
77
let x: [u64; 3] = [1, 2, 3];
88
assert_eq!(6, (0..3).map(|i| x[i]).sum::<u64>());
99
}
10+
11+
// https://github.com/rust-lang/rust/issues/15673

tests/ui/issues/issue-25185.rs renamed to tests/ui/linking/rlib-to-dylib-native-deps-inclusion-issue-25185.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ fn main() {
1010
};
1111
assert_eq!(x, 1);
1212
}
13+
14+
// https://github.com/rust-lang/rust/issues/25185

tests/ui/issues/issue-32655.rs renamed to tests/ui/macros/macro-expansion-bypasses-derive-stability-issue-32655.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ bar!(
1717
);
1818

1919
fn main() {}
20+
21+
// https://github.com/rust-lang/rust/issues/32655

0 commit comments

Comments
 (0)