rust/tests/ui/borrowck/borrowck-uninit-after-item.rs
2023-01-11 09:32:08 +00:00

6 lines
83 B
Rust

fn main() {
let bar;
fn baz(_x: isize) { }
baz(bar); //~ ERROR E0381
}