Closed
Description
Code
fn foo([(), .., ()]: [(); 1 << 40]) {}
fn main() {
foo([(); 1 << 40]);
}
Error output
thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: TryFromIntError(())', src/librustc_mir_build/build/matches/util.rs:36:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: internal compiler error: unexpected panic