]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-while-cond.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / ui / borrowck / borrowck-while-cond.rs
1 fn main() {
2     let x: bool;
3     while x { } //~ ERROR use of possibly-uninitialized variable: `x`
4 }