]>
Commit | Line | Data |
---|---|---|
0531ce1d XL |
1 | type A = for<'b, 'a: 'b> fn(); //~ ERROR lifetime bounds cannot be used in this context |
2 | type B = for<'b, 'a: 'b,> fn(); //~ ERROR lifetime bounds cannot be used in this context | |
3 | type C = for<'b, 'a: 'b +> fn(); //~ ERROR lifetime bounds cannot be used in this context | |
4 | type D = for<'a, T> fn(); //~ ERROR only lifetime parameters can be used in this context | |
dc9dc135 | 5 | type E = dyn for<T> Fn(); //~ ERROR only lifetime parameters can be used in this context |
abe05a73 XL |
6 | |
7 | fn main() {} |