mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
8 lines
462 B
Rust
8 lines
462 B
Rust
type A = for<'b, 'a: 'b> fn(); //~ ERROR lifetime bounds cannot be used in this context
|
|
type B = for<'b, 'a: 'b,> fn(); //~ ERROR lifetime bounds cannot be used in this context
|
|
type C = for<'b, 'a: 'b +> fn(); //~ ERROR lifetime bounds cannot be used in this context
|
|
type D = for<'a, T> fn(); //~ ERROR only lifetime parameters can be used in this context
|
|
type E = dyn for<T, U> Fn(); //~ ERROR only lifetime parameters can be used in this context
|
|
|
|
fn main() {}
|