]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/removed-syntax-field-let.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / removed-syntax-field-let.rs
1 struct S {
2     let foo: (),
3     //~^  ERROR expected identifier, found keyword `let`
4     //~^^ ERROR expected `:`, found `foo`
5 }
6
7 fn main() {}