]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-30240.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-30240.stderr
CommitLineData
8faf50e0 1error[E0004]: non-exhaustive patterns: `&_` not covered
0731742a 2 --> $DIR/issue-30240.rs:2:11
8faf50e0 3 |
532ac7d7 4LL | 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
10error[E0004]: non-exhaustive patterns: `&_` not covered
0731742a 11 --> $DIR/issue-30240.rs:6:11
8faf50e0 12 |
532ac7d7 13LL | 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
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0004`.