summary refs log tree commit diff
path: root/src/test/ui/issue-20714.stderr
blob: 1ea85ee440e218bd1016664e3189e6048a7f4db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0618]: expected function, found `G`
  --> $DIR/issue-20714.rs:14:13
   |
LL | struct G;
   | --------- `G` defined here
...
LL |     let g = G(); //~ ERROR: expected function, found `G`
   |             ^^^ not a function

error: aborting due to previous error

For more information about this error, try `rustc --explain E0618`.