rustc/tests/ui/parser/keyword-ref-as-identifier.rs
2023-07-27 22:48:29 +08:00

4 lines
77 B
Rust

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