fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
477 B12 linesraw
1error[E0195]: lifetime parameters or bounds on method `bar` do not match the trait declaration
2  --> $DIR/E0195.rs:9:11
3   |
4LL |     fn bar<'a,'b:'a>(x: &'a str, y: &'b str);
5   |           ---------- lifetimes in impl do not match this method in trait
6...
7LL |     fn bar<'a,'b>(x: &'a str, y: &'b str) {
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`.