rust/tests/ui/parser/keyword-mut-as-identifier.rs

4 lines
77 B
Rust

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