summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0446.rs
blob: f61c7e546166221a08cbf91f62fe759eee706882 (plain)
1
2
3
4
5
6
7
8
9
mod foo {
    struct Bar(u32);

    pub fn bar() -> Bar { //~ ERROR E0446
        Bar(0)
    }
}

fn main() {}