fork/rust

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

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

master
929 B36 linesraw
1error: expected parameter name, found `,`
2  --> $DIR/issue-110892.rs:27:9
3   |
4LL |         ,
5   |         ^ expected parameter name
6
7error: expected parameter name, found `,`
8  --> $DIR/issue-110892.rs:28:9
9   |
10LL |         ,
11   |         ^ expected parameter name
12
13error: expected parameter name, found `,`
14  --> $DIR/issue-110892.rs:29:9
15   |
16LL |         ,
17   |         ^ expected parameter name
18
19error: expected parameter name, found `,`
20  --> $DIR/issue-110892.rs:30:9
21   |
22LL |         ,
23   |         ^ expected parameter name
24
25error[E0308]: mismatched types
26  --> $DIR/issue-110892.rs:31:10
27   |
28LL |     const fn from_options(
29   |              ------------ implicitly returns `()` as its body has no tail or `return` expression
30...
31LL |     ) -> Assume {}
32   |          ^^^^^^ expected `Assume`, found `()`
33
34error: aborting due to 5 previous errors
35
36For more information about this error, try `rustc --explain E0308`.