2 #![allow(unused_variables)]
4 #![allow(unused_must_use)]
7 {2} + {2} //~ ERROR expected expression, found `+`
8 //~^ ERROR mismatched types
12 {2} + 2 //~ ERROR expected expression, found `+`
13 //~^ ERROR mismatched types
18 { 42 } + foo; //~ ERROR expected expression, found `+`
19 //~^ ERROR mismatched types
24 { 3 } * 3 //~ ERROR type `{integer}` cannot be dereferenced
25 //~^ ERROR mismatched types
28 fn moo(x: u32) -> bool {
31 } > 0 //~ ERROR expected expression