diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2021-09-30 18:05:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 18:05:21 -0700 |
| commit | b437be45ea74905298b046b521a328b0d7899511 (patch) | |
| tree | 96f5ebb0af818e42385053d975a0480c6dfe0e37 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 3d86aac990c0310726da05fe1fdb5827ccfc495d (diff) | |
| parent | 072d107b438207e2c2c83fdf8c22bb5e8699138e (diff) | |
| download | rust-b437be45ea74905298b046b521a328b0d7899511.tar.gz rust-b437be45ea74905298b046b521a328b0d7899511.zip | |
Rollup merge of #89202 - estebank:infer-call-type, r=oli-obk
Resolve infered types when complaining about unexpected call type
```
error[E0618]: expected function, found `{integer}`
--> $DIR/call-block.rs:2:13
|
LL | let _ = {42}();
| ^^^^--
| |
| call expression requires function
```
instead of
```
error[E0618]: expected function, found `_`
--> $DIR/call-block.rs:2:13
|
LL | let _ = {42}();
| ^^^^--
| |
| call expression requires function
```
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
