2018-02-07 21:35:35 -06:00
|
|
|
error[E0195]: lifetime parameters or bounds on method `bar` do not match the trait declaration
|
|
|
|
--> $DIR/E0195.rs:19:5
|
|
|
|
|
|
|
|
|
12 | fn bar<'a,'b:'a>(x: &'a str, y: &'b str);
|
|
|
|
| ----------------------------------------- lifetimes in impl do not match this method in trait
|
|
|
|
...
|
|
|
|
19 | fn bar<'a,'b>(x: &'a str, y: &'b str) { //~ ERROR E0195
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0195"
|