]> git.proxmox.com Git - rustc.git/blame - tests/ui/typeck/while-type-error.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / typeck / while-type-error.stderr
CommitLineData
8faf50e0 1error[E0308]: mismatched types
0731742a 2 --> $DIR/while-type-error.rs:3:19
8faf50e0 3 |
b7449926 4LL | fn main() { while main { } }
60c5eb7d 5 | ^^^^ expected `bool`, found fn item
8faf50e0
XL
6 |
7 = note: expected type `bool`
60c5eb7d 8 found fn item `fn() {main}`
8faf50e0
XL
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0308`.