rustc/tests/ui/parser/issues/issue-89574.rs
2024-06-21 09:39:33 +02:00

7 lines
159 B
Rust

fn main() {
const EMPTY_ARRAY = [];
//~^ missing type for `const` item
//~| ERROR type annotations needed
//~| ERROR type annotations needed
}