rustc/tests/ui/parser/keyword-ref-as-identifier.rs
2023-08-02 10:33:26 +02:00

4 lines
77 B
Rust

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