1 2 3 4 5 6 7 8 9
fn main() { { if (foo) => {} //~ ERROR expected `{`, found `=>` } { if (foo) bar; //~ ERROR expected `{`, found `bar` } }