]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-return-as-identifier.rs
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
[rust.git] / src / test / ui / parser / keyword-return-as-identifier.rs
1 // This file was auto-generated using 'src/etc/generate-keyword-tests.py return'
2
3 fn main() {
4     let return = "foo"; //~ error: expected identifier, found keyword `return`
5 }