summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/keyword-mut-as-identifier.rs
blob: 9b919d2b383c2f31bcaa466db3e4f6f4e4fa7a42 (plain)
1
2
3
fn main() {
    let mut = "foo"; //~ error: expected identifier, found `=`
}