]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/while-loop-block-cond.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / typeck / while-loop-block-cond.rs
1 fn main() {
2     while {} {}
3     //~^ ERROR mismatched types [E0308]
4 }