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