]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-box-as-identifier.rs
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
[rust.git] / src / test / ui / parser / keyword-box-as-identifier.rs
1 fn main() {
2     let box = 0;
3     //~^ ERROR expected pattern, found `=`
4     let box: bool;
5     //~^ ERROR expected pattern, found `:`
6     let mut box = 0;
7     //~^ ERROR expected pattern, found `=`
8     let (box,) = (0,);
9     //~^ ERROR expected pattern, found `,`
10 }