]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0004]: non-exhaustive patterns: `&_` not covered |
0731742a | 2 | --> $DIR/issue-30240.rs:2:11 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | match "world" { |
8faf50e0 | 5 | | ^^^^^^^ pattern `&_` not covered |
532ac7d7 XL |
6 | | |
7 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
ba9703b0 | 8 | = note: the matched value is of type `&str` |
8faf50e0 XL |
9 | |
10 | error[E0004]: non-exhaustive patterns: `&_` not covered | |
0731742a | 11 | --> $DIR/issue-30240.rs:6:11 |
8faf50e0 | 12 | | |
532ac7d7 | 13 | LL | match "world" { |
8faf50e0 | 14 | | ^^^^^^^ pattern `&_` not covered |
532ac7d7 XL |
15 | | |
16 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
ba9703b0 | 17 | = note: the matched value is of type `&str` |
8faf50e0 XL |
18 | |
19 | error: aborting due to 2 previous errors | |
20 | ||
21 | For more information about this error, try `rustc --explain E0004`. |