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
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn bar<'a,'b:'a>(x: &'a str, y: &'b str);
|
2018-02-07 21:35:35 -06:00
|
|
|
| ----------------------------------------- lifetimes in impl do not match this method in trait
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn bar<'a,'b>(x: &'a str, y: &'b str) { //~ ERROR E0195
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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"
|