1 error[E0618]: expected function, found `G`
2 --> $DIR/issue-20714.rs:4:13
5 | --------- `G` defined here
7 LL | let g = G(); //~ ERROR: expected function, found `G`
10 | call expression requires function
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0618`.