2018-11-10 22:46:05 -06: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 16:02:14 -05:00
|
|
|
| ----------------------- `vindictive` defined here returns `bool`
|
2018-11-10 22:46:05 -06:00
|
|
|
...
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | vindictive()
|
2023-08-04 12:22:20 -05:00
|
|
|
| -^^^^^^^^^^^- help: consider using a semicolon here to finish the statement: `;`
|
2018-11-10 22:46:05 -06:00
|
|
|
| _____|
|
|
|
|
| |
|
|
|
|
LL | | (1, 2)
|
|
|
|
| |__________- call expression requires function
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-11-10 22:46:05 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0618`.
|