]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-20714.rs
Auto merge of #106827 - alexcrichton:update-llvm-to-15.0.7, r=cuviper
[rust.git] / tests / ui / issues / issue-20714.rs
1 struct G;
2
3 fn main() {
4     let g = G(); //~ ERROR: expected function, found struct `G`
5 }