File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration
1
+ error[E0195]: lifetime parameters or bounds on associated function `method` do not match the trait declaration
2
2
--> tests/ui/missing-async-in-impl.rs:12:14
3
3
|
4
4
5 | async fn method();
5
- | -------- lifetimes in impl do not match this method in trait
5
+ | -------- lifetimes in impl do not match this associated function in trait
6
6
...
7
7
12 | fn method() {}
8
- | ^ lifetimes do not match method in trait
8
+ | ^ lifetimes do not match associated function in trait
Original file line number Diff line number Diff line change 1
- error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration
1
+ error[E0195]: lifetime parameters or bounds on associated function `method` do not match the trait declaration
2
2
--> tests/ui/missing-async-in-trait.rs:12:14
3
3
|
4
4
5 | fn method();
5
- | - lifetimes in impl do not match this method in trait
5
+ | - lifetimes in impl do not match this associated function in trait
6
6
...
7
7
12 | async fn method() {}
8
- | ^^^^^^^^ lifetimes do not match method in trait
8
+ | ^^^^^^^^ lifetimes do not match associated function in trait
You can’t perform that action at this time.
0 commit comments