rust/tests/ui/consts/issue-76064.rs

4 lines
95 B
Rust

struct Bug([u8; panic!("panic")]); //~ ERROR evaluation of constant value failed
fn main() {}