Skip to content

Commit 656de75

Browse files
committed
Rename some issue-* tests
1 parent 5bc3450 commit 656de75

File tree

10 files changed

+9
-13
lines changed

10 files changed

+9
-13
lines changed

src/tools/tidy/src/issues.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,6 @@ ui/macros/issue-6596-1.rs
15831583
ui/macros/issue-6596-2.rs
15841584
ui/macros/issue-68058.rs
15851585
ui/macros/issue-68060.rs
1586-
ui/macros/issue-69396-const-no-type-in-macro.rs
15871586
ui/macros/issue-69838-mods-relative-to-included-path.rs
15881587
ui/macros/issue-70446.rs
15891588
ui/macros/issue-75982-foreign-macro-weird-mod.rs
@@ -2100,7 +2099,6 @@ ui/parser/issues/issue-88770.rs
21002099
ui/parser/issues/issue-88818.rs
21012100
ui/parser/issues/issue-89388.rs
21022101
ui/parser/issues/issue-89396.rs
2103-
ui/parser/issues/issue-89574.rs
21042102
ui/parser/issues/issue-89971-outer-attr-following-inner-attr-ice.rs
21052103
ui/parser/issues/issue-90728.rs
21062104
ui/parser/issues/issue-90993.rs
@@ -2880,7 +2878,6 @@ ui/type/type-check/issue-88577-check-fn-with-more-than-65535-arguments.rs
28802878
ui/typeck/auxiliary/issue-29181.rs
28812879
ui/typeck/auxiliary/issue-36708.rs
28822880
ui/typeck/auxiliary/issue-81943-lib.rs
2883-
ui/typeck/issue-100164.rs
28842881
ui/typeck/issue-100246.rs
28852882
ui/typeck/issue-100285.rs
28862883
ui/typeck/issue-103899.rs
@@ -2937,7 +2934,6 @@ ui/typeck/issue-74933.rs
29372934
ui/typeck/issue-75883.rs
29382935
ui/typeck/issue-75889.rs
29392936
ui/typeck/issue-7813.rs
2940-
ui/typeck/issue-79040.rs
29412937
ui/typeck/issue-80207-unsized-return.rs
29422938
ui/typeck/issue-80779.rs
29432939
ui/typeck/issue-81293.rs

tests/ui/typeck/issue-79040.rs renamed to tests/ui/consts/const-item-no-type/dont-suggest-type-error.rs

File renamed without changes.

tests/ui/typeck/issue-79040.stderr renamed to tests/ui/consts/const-item-no-type/dont-suggest-type-error.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error[E0369]: cannot add `{integer}` to `&str`
2-
--> $DIR/issue-79040.rs:2:25
2+
--> $DIR/dont-suggest-type-error.rs:2:25
33
|
44
LL | const FOO = "hello" + 1;
55
| ------- ^ - {integer}
66
| |
77
| &str
88

99
error: missing type for `const` item
10-
--> $DIR/issue-79040.rs:2:14
10+
--> $DIR/dont-suggest-type-error.rs:2:14
1111
|
1212
LL | const FOO = "hello" + 1;
1313
| ^
File renamed without changes.

tests/ui/parser/issues/issue-89574.stderr renamed to tests/ui/consts/const-item-no-type/dtorck-array.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error[E0282]: type annotations needed
2-
--> $DIR/issue-89574.rs:2:25
2+
--> $DIR/dtorck-array.rs:2:25
33
|
44
LL | const EMPTY_ARRAY = [];
55
| ^^ cannot infer type
66

77
error: missing type for `const` item
8-
--> $DIR/issue-89574.rs:2:22
8+
--> $DIR/dtorck-array.rs:2:22
99
|
1010
LL | const EMPTY_ARRAY = [];
1111
| ^
File renamed without changes.

tests/ui/macros/issue-69396-const-no-type-in-macro.stderr renamed to tests/ui/consts/const-item-no-type/in-macro.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0428]: the name `A` is defined multiple times
2-
--> $DIR/issue-69396-const-no-type-in-macro.rs:4:13
2+
--> $DIR/in-macro.rs:4:13
33
|
44
LL | const A = "A".$fn();
55
| ^^^^^^^^^^^^^^^^^^^^ `A` redefined here
@@ -14,7 +14,7 @@ LL | | }
1414
= note: this error originates in the macro `suite` (in Nightly builds, run with -Z macro-backtrace for more info)
1515

1616
error: missing type for `const` item
17-
--> $DIR/issue-69396-const-no-type-in-macro.rs:4:20
17+
--> $DIR/in-macro.rs:4:20
1818
|
1919
LL | const A = "A".$fn();
2020
| ^ help: provide a type for the constant: `: usize`
@@ -28,7 +28,7 @@ LL | | }
2828
= note: this error originates in the macro `suite` (in Nightly builds, run with -Z macro-backtrace for more info)
2929

3030
error[E0121]: missing type for item
31-
--> $DIR/issue-69396-const-no-type-in-macro.rs:4:20
31+
--> $DIR/in-macro.rs:4:20
3232
|
3333
LL | const A = "A".$fn();
3434
| ^ not allowed in type signatures
File renamed without changes.
File renamed without changes.

tests/ui/typeck/issue-100164.stderr renamed to tests/ui/consts/const-item-no-type/with-colon.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error: missing type for `const` item
2-
--> $DIR/issue-100164.rs:3:10
2+
--> $DIR/with-colon.rs:3:10
33
|
44
LL | const _A: = 123;
55
| ^ help: provide a type for the constant: `i32`
66

77
error: missing type for `const` item
8-
--> $DIR/issue-100164.rs:7:14
8+
--> $DIR/with-colon.rs:7:14
99
|
1010
LL | const _B: = 123;
1111
| ^ help: provide a type for the constant: `i32`

0 commit comments

Comments
 (0)