Skip to content

Commit 8fce4d8

Browse files
committed
Rename test files to satisfy tidy.
To get past the annoying "must begin with a descriptive name, consider `{reason}-issue-121431.rs`" test. I find choosing a location and name is the worst part of adding a new ui test, and this just makes it harder.
1 parent 3fe0325 commit 8fce4d8

8 files changed

+6
-6
lines changed

tests/ui/generics/issue-121418.stderr renamed to tests/ui/generics/span-bug-issue-121418.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: inherent impls cannot be `const`
2-
--> $DIR/issue-121418.rs:7:12
2+
--> $DIR/span-bug-issue-121418.rs:7:12
33
|
44
LL | impl const dyn T {
55
| ----- ^^^^^ inherent impl for this type
@@ -9,7 +9,7 @@ LL | impl const dyn T {
99
= note: only trait implementations may be annotated with `const`
1010

1111
error[E0207]: the const parameter `host` is not constrained by the impl trait, self type, or predicates
12-
--> $DIR/issue-121418.rs:7:6
12+
--> $DIR/span-bug-issue-121418.rs:7:6
1313
|
1414
LL | impl const dyn T {
1515
| ^^^^^ unconstrained const parameter

tests/ui/lowering/issue-121431.stderr renamed to tests/ui/lowering/span-bug-issue-121431.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0405]: cannot find trait `CallbackMarker` in this scope
2-
--> $DIR/issue-121431.rs:1:21
2+
--> $DIR/span-bug-issue-121431.rs:1:21
33
|
44
LL | fn bug<T>() -> impl CallbackMarker< Item = [(); { |_: &mut ()| 3; 4 }] > {}
55
| ^^^^^^^^^^^^^^ not found in this scope

tests/ui/traits/issue-121414.stderr renamed to tests/ui/traits/span-bug-issue-121414.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error[E0261]: use of undeclared lifetime name `'f`
2-
--> $DIR/issue-121414.rs:5:22
2+
--> $DIR/span-bug-issue-121414.rs:5:22
33
|
44
LL | impl<'a> Bar for Foo<'f> {
55
| - ^^ undeclared lifetime
66
| |
77
| help: consider introducing lifetime `'f` here: `'f,`
88

99
error: implementation of `Bar` is not general enough
10-
--> $DIR/issue-121414.rs:9:4
10+
--> $DIR/span-bug-issue-121414.rs:9:4
1111
|
1212
LL | fn test()
1313
| ^^^^ implementation of `Bar` is not general enough

tests/ui/typeck/issue-121410.stderr renamed to tests/ui/typeck/span-bug-issue-121410.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-121410.rs:9:13
2+
--> $DIR/span-bug-issue-121410.rs:9:13
33
|
44
LL | let (_, t2) = foo.x;
55
| ^^^^^^^ ----- this expression has type `String`

0 commit comments

Comments
 (0)