fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: cannot capture late-bound lifetime in constant 2 --> $DIR/simple.rs:20:25 3 | 4LL | fn test<'a>() { 5 | -- lifetime defined here 6LL | let _: [u8; inner::<'a>()]; 7 | ^^ 8 9error: cannot capture late-bound lifetime in constant 10 --> $DIR/simple.rs:21:25 11 | 12LL | fn test<'a>() { 13 | -- lifetime defined here 14LL | let _: [u8; inner::<'a>()]; 15LL | let _ = [0; inner::<'a>()]; 16 | ^^ 17 18error: aborting due to 2 previous errors 19