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

4 lines
77 B
Rust
Raw Normal View History

fn main() {
2016-04-24 13:35:50 -05:00
let mut = "foo"; //~ error: expected identifier, found `=`
}