fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes 2 --> $DIR/late-bound-in-anon-ct.rs:1:12 3 | 4LL | #![feature(non_lifetime_binders, generic_const_exprs)] 5 | ^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information 8 = note: `#[warn(incomplete_features)]` on by default 9 10warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes 11 --> $DIR/late-bound-in-anon-ct.rs:1:34 12 | 13LL | #![feature(non_lifetime_binders, generic_const_exprs)] 14 | ^^^^^^^^^^^^^^^^^^^ 15 | 16 = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information 17 18error: cannot capture late-bound type parameter in constant 19 --> $DIR/late-bound-in-anon-ct.rs:7:27 20 | 21LL | for<T> [i32; { let _: T = todo!(); 0 }]:, 22 | - ^ 23 | | 24 | parameter defined here 25 26error: aborting due to previous error; 2 warnings emitted 27