rust/tests/ui/const-generics/vec-macro-in-static-array.rs
2025-07-31 21:25:49 +05:00

9 lines
169 B
Rust

//! Regression test for https://github.com/rust-lang/rust/issues/13446
// Used to cause ICE
static VEC: [u32; 256] = vec![];
//~^ ERROR mismatched types
fn main() {}