]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-51055-missing-semicolon-between-call-and-tuple.stderr
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / ui / suggestions / issue-51055-missing-semicolon-between-call-and-tuple.stderr
1 error[E0618]: expected function, found `bool`
2   --> $DIR/issue-51055-missing-semicolon-between-call-and-tuple.rs:4:5
3    |
4 LL |   fn vindictive() -> bool { true }
5    |   ----------------------- `vindictive` defined here returns `bool`
6 ...
7 LL |       vindictive()
8    |       -^^^^^^^^^^^- help: consider using a semicolon here: `;`
9    |  _____|
10    | |
11 LL | |     (1, 2)
12    | |__________- call expression requires function
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0618`.