File tree 1 file changed +0
-27
lines changed
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -19,30 +19,3 @@ note: trait defined here, with 0 lifetime parameters
19
19
|
20
20
22 | pub trait Trait2 {
21
21
| ^^^^^^
22
-
23
- error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration
24
- --> tests/ui/lifetime-span.rs:13:14
25
- |
26
- 8 | async fn method(&'r self);
27
- | ---------------- lifetimes in impl do not match this method in trait
28
- ...
29
- 13 | async fn method(&self) { }
30
- | ^^^^^^^^^^^^^ lifetimes do not match method in trait
31
-
32
- error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration
33
- --> tests/ui/lifetime-span.rs:18:14
34
- |
35
- 8 | async fn method(&'r self);
36
- | ---------------- lifetimes in impl do not match this method in trait
37
- ...
38
- 18 | async fn method(&self) { }
39
- | ^^^^^^^^^^^^^ lifetimes do not match method in trait
40
-
41
- error[E0195]: lifetime parameters or bounds on method `method` do not match the trait declaration
42
- --> tests/ui/lifetime-span.rs:33:14
43
- |
44
- 23 | async fn method<'r>(&'r self);
45
- | ---- lifetimes in impl do not match this method in trait
46
- ...
47
- 33 | async fn method(&'r self) { }
48
- | ^^^^^^^^^^^^^^^^ lifetimes do not match method in trait
You can’t perform that action at this time.
0 commit comments