]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-17001.rs
Auto merge of #106827 - alexcrichton:update-llvm-to-15.0.7, r=cuviper
[rust.git] / tests / ui / issues / issue-17001.rs
1 mod foo {}
2
3 fn main() {
4     let p = foo { x: () }; //~ ERROR expected struct, variant or union type, found module `foo`
5 }