rust/tests/ui/parser/keyword-ref-as-identifier.rs
2023-01-11 09:32:08 +00:00

4 lines
77 B
Rust

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