2 [(); & { loop { continue } } ]; //~ ERROR mismatched types
4 [(); loop { break }]; //~ ERROR mismatched types
6 [(); {while true {break}; 0}];
7 //~^ WARN denote infinite loops with
9 [(); { for _ in 0usize.. {}; 0}];
10 //~^ ERROR `for` is not allowed in a `const`
11 //~| ERROR calls in constants are limited to constant functions
12 //~| ERROR mutable references are not allowed in constants
13 //~| ERROR calls in constants are limited to constant functions
14 //~| ERROR evaluation of constant value failed