rust/src/test/ui/parser/keyword-box-as-identifier.rs

4 lines
74 B
Rust

fn main() {
let box = "foo"; //~ error: expected pattern, found `=`
}