rust/tests/ui/parser/issues/issue-24197.rs
2024-01-28 16:12:21 +01:00

4 lines
85 B
Rust

fn main() {
let buf[0] = 0; //~ error: expected a pattern, found an expression
}