summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/borrowck-uninit.rs
blob: 5d0ebabb00872a1abb46741eccfed0b8801a243c (plain)
1
2
3
4
5
6
fn foo(x: isize) { println!("{}", x); }

fn main() {
    let x: isize;
    foo(x); //~ ERROR E0381
}