2018-02-08 03:35:35 +00: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 20:40:25 +00:00
|
|
|
If you want more information on this error, try using "rustc --explain E0195"
|