diff --git a/tests/ui/lifetime-span.stderr b/tests/ui/lifetime-span.stderr index 021c9fc..aa7d57e 100644 --- a/tests/ui/lifetime-span.stderr +++ b/tests/ui/lifetime-span.stderr @@ -9,15 +9,6 @@ help: indicate the anonymous lifetime 12 | impl Trait<'_> for A { | ++++ -error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration - --> tests/ui/lifetime-span.rs:13:14 - | -8 | async fn method(&'r self); - | ---------------- lifetimes in impl do not match this method in trait -... -13 | async fn method(&self) {} - | ^^^^^^^^^^^^^ lifetimes do not match method in trait - error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration --> tests/ui/lifetime-span.rs:18:14 |