2023-12-20 01:06:36 -06:00
|
|
|
type A = for<'b, 'a: 'b> fn(); //~ ERROR bounds cannot be used in this context
|
|
|
|
type B = for<'b, 'a: 'b,> fn(); //~ ERROR bounds cannot be used in this context
|
|
|
|
type C = for<'b, 'a: 'b +> fn(); //~ ERROR bounds cannot be used in this context
|
2018-03-06 04:22:24 -06:00
|
|
|
type D = for<'a, T> fn(); //~ ERROR only lifetime parameters can be used in this context
|
2023-10-29 18:38:57 -05:00
|
|
|
type E = dyn for<T, U> Fn(); //~ ERROR only lifetime parameters can be used in this context
|
2018-03-06 04:22:24 -06:00
|
|
|
|
|
|
|
fn main() {}
|