]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0195.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / error-codes / E0195.stderr
1 error[E0195]: lifetime parameters or bounds on method `bar` do not match the trait declaration
2   --> $DIR/E0195.rs:9:11
3    |
4 LL |     fn bar<'a,'b:'a>(x: &'a str, y: &'b str);
5    |           ---------- lifetimes in impl do not match this method in trait
6 ...
7 LL |     fn bar<'a,'b>(x: &'a str, y: &'b str) {
8    |           ^^^^^^^ lifetimes do not match method in trait
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0195`.