fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
528 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: try adding a semicolon: `;`
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`.