]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/call-block.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / typeck / call-block.stderr
1 error[E0618]: expected function, found `{integer}`
2   --> $DIR/call-block.rs:2:13
3    |
4 LL |     let _ = {42}();
5    |             ^^^^--
6    |             |
7    |             call expression requires function
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0618`.