]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-20714.rs
Rollup merge of #106699 - eholk:await-chains-drop-tracking, r=wesleywiser
[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 }