1 error[E0004]: non-exhaustive patterns: `&_` not covered
2 --> $DIR/issue-30240.rs:2:11
5 | ^^^^^^^ pattern `&_` not covered
7 = note: the matched value is of type `&str`
8 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
14 error[E0004]: non-exhaustive patterns: `&_` not covered
15 --> $DIR/issue-30240.rs:6:11
18 | ^^^^^^^ pattern `&_` not covered
20 = note: the matched value is of type `&str`
21 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0004`.