]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: lifetime bounds cannot be used in this context |
0731742a | 2 | --> $DIR/bounds-lifetime.rs:1:22 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | type A = for<'b, 'a: 'b> fn(); |
b7449926 XL |
5 | | ^^ |
6 | ||
7 | error: lifetime bounds cannot be used in this context | |
0731742a | 8 | --> $DIR/bounds-lifetime.rs:2:22 |
b7449926 | 9 | | |
532ac7d7 | 10 | LL | type B = for<'b, 'a: 'b,> fn(); |
b7449926 XL |
11 | | ^^ |
12 | ||
13 | error: lifetime bounds cannot be used in this context | |
0731742a | 14 | --> $DIR/bounds-lifetime.rs:3:22 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | type C = for<'b, 'a: 'b +> fn(); |
b7449926 XL |
17 | | ^^ |
18 | ||
19 | error: only lifetime parameters can be used in this context | |
0731742a | 20 | --> $DIR/bounds-lifetime.rs:4:18 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | type D = for<'a, T> fn(); |
b7449926 XL |
23 | | ^ |
24 | ||
25 | error: only lifetime parameters can be used in this context | |
0731742a | 26 | --> $DIR/bounds-lifetime.rs:5:14 |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | type E = for<T> Fn(); |
b7449926 XL |
29 | | ^ |
30 | ||
31 | error: aborting due to 5 previous errors | |
32 |