fork/rust

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

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

master
687 B19 linesraw
1error: a trailing `|` is not allowed in an or-pattern
2  --> $DIR/issue-64879-trailing-before-guard.rs:10:14
3   |
4LL |         E::A |
5   |         ---- while parsing this or-pattern starting here
6LL |         E::B |
7   |              ^ help: remove the `|`
8
9error[E0308]: mismatched types
10  --> $DIR/issue-64879-trailing-before-guard.rs:12:42
11   |
12LL |             let recovery_witness: bool = 0;
13   |                                   ----   ^ expected `bool`, found integer
14   |                                   |
15   |                                   expected due to this
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0308`.