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

3 lines
77 B
Rust

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