blob: 88a97136c5947f0315a51d14a361fcae0fed3607 [file] [log] [blame] [edit]
//@ compile-flags: --edition 2018
#![feature(try_blocks)]
fn main() {
while try { false } {}
//~^ ERROR a `try` block must
}