]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-box-as-identifier.rs
Merge commit '4bdfb0741dbcecd5279a2635c3280726db0604b5' into clippyup
[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 }