]>
Commit | Line | Data |
---|---|---|
f035d41b | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/higher-ranked-projection.rs:25:5 |
b7449926 XL |
3 | | |
4 | LL | foo(()); | |
5869c6ff | 5 | | ^^^ lifetime mismatch |
f035d41b XL |
6 | | |
7 | = note: expected type `&'a ()` | |
8 | found type `&()` | |
5869c6ff XL |
9 | note: the lifetime requirement is introduced here |
10 | --> $DIR/higher-ranked-projection.rs:15:33 | |
11 | | | |
12 | LL | where for<'a> &'a T: Mirror<Image=U> | |
13 | | ^^^^^^^ | |
b7449926 XL |
14 | |
15 | error: aborting due to previous error | |
16 | ||
f035d41b | 17 | For more information about this error, try `rustc --explain E0308`. |