fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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