Source code

Revision control

Copy as Markdown

Other Tools

error[E0195]: lifetime parameters or bounds on method `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
...
12 | async fn method() {}
| ^^^^^^^^ lifetimes do not match method in trait