mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
4897d5eccf
fixes #119067
7 lines
435 B
Rust
7 lines
435 B
Rust
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
|
|
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() {}
|