rust/tests/ui/parser/issues/issue-89574.rs

7 lines
159 B
Rust

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