summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/borrowck-uninit-after-item.rs
blob: e97ce6aa407ed15425bebd5c04afd7d62bbff68e (plain)
1
2
3
4
5
fn main() {
    let bar;
    fn baz(_x: isize) { }
    baz(bar); //~ ERROR E0381
}