]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-77218.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-77218.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-77218.rs:3:11
3 |
4 LL | while Some(0) = value.get(0) {
5 | ^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
6 |
7 help: you might have meant to use pattern matching
8 |
9 LL | while let Some(0) = value.get(0) {
10 | ^^^
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.