2018-11-11 04:46:05 +00:00
|
|
|
error[E0618]: expected function, found `bool`
|
|
|
|
--> $DIR/issue-51055-missing-semicolon-between-call-and-tuple.rs:4:5
|
|
|
|
|
|
|
|
|
LL | fn vindictive() -> bool { true }
|
2020-08-12 21:02:14 +00:00
|
|
|
| ----------------------- `vindictive` defined here returns `bool`
|
2018-11-11 04:46:05 +00:00
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | vindictive()
|
2023-08-04 17:22:20 +00:00
|
|
|
| -^^^^^^^^^^^- help: consider using a semicolon here to finish the statement: `;`
|
2018-11-11 04:46:05 +00:00
|
|
|
| _____|
|
|
|
|
| |
|
|
|
|
LL | | (1, 2)
|
|
|
|
| |__________- call expression requires function
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-11-11 04:46:05 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0618`.
|