]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-20714.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-20714.stderr
1 error[E0618]: expected function, found `G`
2   --> $DIR/issue-20714.rs:4:13
3    |
4 LL | struct G;
5    | --------- `G` defined here
6 ...
7 LL |     let g = G(); //~ ERROR: expected function, found `G`
8    |             ^--
9    |             |
10    |             call expression requires function
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0618`.