]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-ref-as-identifier.rs
Auto merge of #55519 - fhartwig:hashmap-index-example, r=Centril
[rust.git] / src / test / ui / parser / keyword-ref-as-identifier.rs
1 // compile-flags: -Z parse-only
2
3 fn main() {
4     let ref = "foo"; //~ error: expected identifier, found `=`
5 }