1 error: expected pattern, found `=`
2 --> $DIR/keyword-box-as-identifier.rs:2:13
7 note: `box` is a reserved keyword
8 --> $DIR/keyword-box-as-identifier.rs:2:9
12 help: escape `box` to use it as an identifier
17 error: expected pattern, found `:`
18 --> $DIR/keyword-box-as-identifier.rs:4:12
23 note: `box` is a reserved keyword
24 --> $DIR/keyword-box-as-identifier.rs:4:9
28 help: escape `box` to use it as an identifier
33 error: expected pattern, found `=`
34 --> $DIR/keyword-box-as-identifier.rs:6:17
39 note: `box` is a reserved keyword
40 --> $DIR/keyword-box-as-identifier.rs:6:13
44 help: escape `box` to use it as an identifier
46 LL | let mut r#box = 0;
49 error: expected pattern, found `,`
50 --> $DIR/keyword-box-as-identifier.rs:8:13
52 LL | let (box,) = (0,);
55 note: `box` is a reserved keyword
56 --> $DIR/keyword-box-as-identifier.rs:8:10
58 LL | let (box,) = (0,);
60 help: escape `box` to use it as an identifier
62 LL | let (r#box,) = (0,);
65 error: aborting due to 4 previous errors