File: missing-async-in-trait.stderr

package info (click to toggle)
rust-async-trait 0.1.56-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 316 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (26)
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