summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/borrowck-while-cond.rs
blob: 62a9bdd2020559817e7e6bf8c2fca085cfcd7d9c (plain)
1
2
3
4
fn main() {
    let x: bool;
    while x { } //~ ERROR E0381
}