fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes 2 --> $DIR/escaping-bound-var.rs:1:12 3 | 4LL | #![feature(generic_const_exprs)] 5 | ^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information 8 = note: `#[warn(incomplete_features)]` on by default 9 10error: cannot capture late-bound lifetime in constant 11 --> $DIR/escaping-bound-var.rs:7:13 12 | 13LL | fn test<'a>( 14 | -- lifetime defined here 15... 16LL | let x: &'a (); 17 | ^^ 18 19error: aborting due to previous error; 1 warning emitted 20