fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
456 B12 linesraw
1error[E0195]: lifetime parameters or bounds on method `foo` do not match the trait declaration
2  --> $DIR/lifetime-mismatch.rs:11:17
3   |
4LL |     async fn foo<'a>(&self);
5   |                 ---- lifetimes in impl do not match this method in trait
6...
7LL |     async fn foo(&self) {}
8   |                 ^ lifetimes do not match method in trait
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0195`.