Skip to content

Commit

Permalink
Rename test files to satisfy tidy.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nnethercote committed Feb 22, 2024
1 parent 3fe0325 commit 8fce4d8
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: inherent impls cannot be `const`
--> $DIR/issue-121418.rs:7:12
--> $DIR/span-bug-issue-121418.rs:7:12
|
LL | impl const dyn T {
| ----- ^^^^^ inherent impl for this type
Expand All @@ -9,7 +9,7 @@ LL | impl const dyn T {
= note: only trait implementations may be annotated with `const`

error[E0207]: the const parameter `host` is not constrained by the impl trait, self type, or predicates
--> $DIR/issue-121418.rs:7:6
--> $DIR/span-bug-issue-121418.rs:7:6
|
LL | impl const dyn T {
| ^^^^^ unconstrained const parameter
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0405]: cannot find trait `CallbackMarker` in this scope
--> $DIR/issue-121431.rs:1:21
--> $DIR/span-bug-issue-121431.rs:1:21
|
LL | fn bug<T>() -> impl CallbackMarker< Item = [(); { |_: &mut ()| 3; 4 }] > {}
| ^^^^^^^^^^^^^^ not found in this scope
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
error[E0261]: use of undeclared lifetime name `'f`
--> $DIR/issue-121414.rs:5:22
--> $DIR/span-bug-issue-121414.rs:5:22
|
LL | impl<'a> Bar for Foo<'f> {
| - ^^ undeclared lifetime
| |
| help: consider introducing lifetime `'f` here: `'f,`

error: implementation of `Bar` is not general enough
--> $DIR/issue-121414.rs:9:4
--> $DIR/span-bug-issue-121414.rs:9:4
|
LL | fn test()
| ^^^^ implementation of `Bar` is not general enough
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0308]: mismatched types
--> $DIR/issue-121410.rs:9:13
--> $DIR/span-bug-issue-121410.rs:9:13
|
LL | let (_, t2) = foo.x;
| ^^^^^^^ ----- this expression has type `String`
Expand Down

0 comments on commit 8fce4d8

Please sign in to comment.