File: missing-async-in-trait.stderr

package info (click to toggle)
rust-async-trait 0.1.83-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 383 bytes parent folder | download
1
2
3
4
5
6
7
8
error[E0195]: lifetime parameters or bounds on associated function `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 associated function in trait
...
12 |     async fn method() {}
   |              ^^^^^^^^ lifetimes do not match associated function in trait