Skip to content

Commit ade6529

Browse files
committed
Update ui test suite to nightly-2022-01-16
1 parent e36a92c commit ade6529

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

tests/ui/lifetime-span.stderr

-27
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,3 @@ note: trait defined here, with 0 lifetime parameters
1919
|
2020
22 | pub trait Trait2 {
2121
| ^^^^^^
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

0 commit comments

Comments
 (0)