rust/tests/ui/borrowck/borrowck-while-cond.rs
2023-01-11 09:32:08 +00:00

5 lines
63 B
Rust

fn main() {
let x: bool;
while x { } //~ ERROR E0381
}