aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/missing-async-in-trait.stderr
blob: c92c38da5ebc950e314c8a94a1f7428f84d87a12 (plain)
1
2
3
4
5
6
7
8
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