summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-17001.rs
blob: 68cb2865fdc824526712c6fcea11691015600e42 (plain)
1
2
3
4
5
mod foo {}

fn main() {
    let p = foo { x: () }; //~ ERROR expected struct, variant or union type, found module `foo`
}