Skip to content

Commit

Permalink
Update ui test suite to nightly-2024-03-09
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 9, 2024
1 parent 8ac3241 commit d8c07fc
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tests/ui/lifetime-span.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,6 @@ help: indicate the anonymous lifetime
12 | impl Trait<'_> for A {
| ++++

error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied
--> tests/ui/lifetime-span.rs:32:10
|
32 | impl<'r> Trait2<'r> for B {
| ^^^^^^---- help: remove these generics
| |
| expected 0 lifetime arguments
|
note: trait defined here, with 0 lifetime parameters
--> tests/ui/lifetime-span.rs:22:11
|
22 | pub trait Trait2 {
| ^^^^^^

error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration
--> tests/ui/lifetime-span.rs:13:14
|
Expand All @@ -41,6 +27,20 @@ error[E0195]: lifetime parameters or bounds on method `method` do not match the
18 | async fn method(&self) {}
| ^^^^^^^^^^^^^ lifetimes do not match method in trait

error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied
--> tests/ui/lifetime-span.rs:32:10
|
32 | impl<'r> Trait2<'r> for B {
| ^^^^^^---- help: remove these generics
| |
| expected 0 lifetime arguments
|
note: trait defined here, with 0 lifetime parameters
--> tests/ui/lifetime-span.rs:22:11
|
22 | pub trait Trait2 {
| ^^^^^^

error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration
--> tests/ui/lifetime-span.rs:33:14
|
Expand Down

0 comments on commit d8c07fc

Please sign in to comment.