]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0688]: cannot mix in-band and explicit lifetime definitions |
0731742a | 2 | --> $DIR/E0688.rs:4:28 |
ff7c6d11 | 3 | | |
532ac7d7 | 4 | LL | fn foo<'a>(x: &'a u32, y: &'b u32) {} |
ff7c6d11 XL |
5 | | -- ^^ in-band lifetime definition here |
6 | | | | |
7 | | explicit lifetime definition here | |
8 | ||
9 | error[E0688]: cannot mix in-band and explicit lifetime definitions | |
0731742a | 10 | --> $DIR/E0688.rs:9:44 |
ff7c6d11 | 11 | | |
532ac7d7 | 12 | LL | fn bar<'b>(x: &'a u32, y: &'b u32, z: &'c u32) {} |
ff7c6d11 XL |
13 | | -- ^^ in-band lifetime definition here |
14 | | | | |
15 | | explicit lifetime definition here | |
16 | ||
17 | error[E0688]: cannot mix in-band and explicit lifetime definitions | |
0731742a | 18 | --> $DIR/E0688.rs:12:14 |
ff7c6d11 | 19 | | |
532ac7d7 | 20 | LL | impl<'b> Foo<'a> { |
ff7c6d11 XL |
21 | | -- ^^ in-band lifetime definition here |
22 | | | | |
23 | | explicit lifetime definition here | |
24 | ||
25 | error: aborting due to 3 previous errors | |
26 | ||
f035d41b | 27 | For more information about this error, try `rustc --explain E0688`. |