1 warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/on-ptr.rs:3:12
4 LL | #![feature(non_lifetime_binders)]
7 = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
8 = note: `#[warn(incomplete_features)]` on by default
10 error: late-bound type parameter not allowed on function pointer types
11 --> $DIR/on-ptr.rs:6:17
13 LL | fn foo() -> for<T> fn(T) {
16 error: aborting due to previous error; 1 warning emitted