blob: 3c67cdd0fbc5ebf611af509ddfaa39db44ec9119 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0618]: expected function, found `{integer}`
--> $DIR/call-block.rs:2:13
|
LL | let _ = {42}();
| ^^^^--
| |
| call expression requires function
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0618`.
|