fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
552 B16 linesraw
1error[E0618]: expected function, found `bool`
2  --> $DIR/issue-51055-missing-semicolon-between-call-and-tuple.rs:4:5
3   |
4LL |   fn vindictive() -> bool { true }
5   |   ----------------------- `vindictive` defined here returns `bool`
6...
7LL |       vindictive()
8   |       -^^^^^^^^^^^- help: consider using a semicolon here to finish the statement: `;`
9   |  _____|
10   | |
11LL | |     (1, 2)
12   | |__________- call expression requires function
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0618`.