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