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