summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-21449.rs
blob: 00ce2b7fffa886293ae03f3931d7ec85ad6b2e04 (plain)
1
2
3
4
5
6
mod MyMod {}

fn main() {
    let myVar = MyMod { T: 0 };
    //~^ ERROR expected struct, variant or union type, found module `MyMod`
}