1 error[E0277]: a `try` block must return `Result` or `Option` (or another type that implements `Try`)
2 --> $DIR/try-block-in-while.rs:6:17
4 LL | while try { false } {}
5 | ^^^^^ could not wrap the final value of the block as `bool` doesn't implement `Try`
7 = help: the trait `Try` is not implemented for `bool`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0277`.