diff --git a/tests/ui/missing-async-in-impl.stderr b/tests/ui/missing-async-in-impl.stderr index e461c85..940ba55 100644 --- a/tests/ui/missing-async-in-impl.stderr +++ b/tests/ui/missing-async-in-impl.stderr @@ -1,8 +1,8 @@ -error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration +error[E0195]: lifetime parameters or bounds on associated function `method` do not match the trait declaration --> tests/ui/missing-async-in-impl.rs:12:14 | 5 | async fn method(); - | -------- lifetimes in impl do not match this method in trait + | -------- lifetimes in impl do not match this associated function in trait ... 12 | fn method() {} - | ^ lifetimes do not match method in trait + | ^ lifetimes do not match associated function in trait diff --git a/tests/ui/missing-async-in-trait.stderr b/tests/ui/missing-async-in-trait.stderr index c92c38d..f04c348 100644 --- a/tests/ui/missing-async-in-trait.stderr +++ b/tests/ui/missing-async-in-trait.stderr @@ -1,8 +1,8 @@ -error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration +error[E0195]: lifetime parameters or bounds on associated function `method` do not match the trait declaration --> tests/ui/missing-async-in-trait.rs:12:14 | 5 | fn method(); - | - lifetimes in impl do not match this method in trait + | - lifetimes in impl do not match this associated function in trait ... 12 | async fn method() {} - | ^^^^^^^^ lifetimes do not match method in trait + | ^^^^^^^^ lifetimes do not match associated function in trait