fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: generic parameters may not be used in const operations 2 --> $DIR/issue-74713.rs:4:17 3 | 4LL | let _: &'a (); 5 | ^^ cannot perform const operation using `'a` 6 | 7 = note: lifetime parameters may not be used in const expressions 8 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions 9 10error[E0308]: mismatched types 11 --> $DIR/issue-74713.rs:3:10 12 | 13LL | [(); { 14 | __________^ 15LL | | let _: &'a (); 16LL | | }]: 17 | |_____^ expected `usize`, found `()` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0308`.