fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: lifetime bounds cannot be used in this context 2 --> $DIR/bounds-lifetime.rs:1:22 3 | 4LL | type A = for<'b, 'a: 'b> fn(); 5 | ^^ 6 7error: lifetime bounds cannot be used in this context 8 --> $DIR/bounds-lifetime.rs:2:22 9 | 10LL | type B = for<'b, 'a: 'b,> fn(); 11 | ^^ 12 13error: lifetime bounds cannot be used in this context 14 --> $DIR/bounds-lifetime.rs:3:22 15 | 16LL | type C = for<'b, 'a: 'b +> fn(); 17 | ^^ 18 19error[E0658]: only lifetime parameters can be used in this context 20 --> $DIR/bounds-lifetime.rs:4:18 21 | 22LL | type D = for<'a, T> fn(); 23 | ^ 24 | 25 = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information 26 = help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable 27 28error[E0658]: only lifetime parameters can be used in this context 29 --> $DIR/bounds-lifetime.rs:5:18 30 | 31LL | type E = dyn for<T> Fn(); 32 | ^ 33 | 34 = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information 35 = help: add `#![feature(non_lifetime_binders)]` to the crate attributes to enable 36 37error: aborting due to 5 previous errors 38 39For more information about this error, try `rustc --explain E0658`.