fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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