blob: cbd140c13bece544b177d7753d2368957a0885ac [file] [log] [blame]
error: lifetime bounds cannot be used in this context
--> $DIR/bounds-lifetime.rs:11:22
|
LL | type A = for<'b, 'a: 'b> fn(); //~ ERROR lifetime bounds cannot be used in this context
| ^^
error: lifetime bounds cannot be used in this context
--> $DIR/bounds-lifetime.rs:12:22
|
LL | type B = for<'b, 'a: 'b,> fn(); //~ ERROR lifetime bounds cannot be used in this context
| ^^
error: lifetime bounds cannot be used in this context
--> $DIR/bounds-lifetime.rs:13:22
|
LL | type C = for<'b, 'a: 'b +> fn(); //~ ERROR lifetime bounds cannot be used in this context
| ^^
error: only lifetime parameters can be used in this context
--> $DIR/bounds-lifetime.rs:14:18
|
LL | type D = for<'a, T> fn(); //~ ERROR only lifetime parameters can be used in this context
| ^
error: only lifetime parameters can be used in this context
--> $DIR/bounds-lifetime.rs:15:14
|
LL | type E = for<T> Fn(); //~ ERROR only lifetime parameters can be used in this context
| ^
error: aborting due to 5 previous errors