]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/issue-50900.stderr
Auto merge of #78833 - CDirkx:parse_prefix, r=dtolnay
[rust.git] / src / test / ui / pattern / usefulness / issue-50900.stderr
1 error[E0004]: non-exhaustive patterns: `Tag(Exif, _)` not covered
2   --> $DIR/issue-50900.rs:15:11
3    |
4 LL | pub struct Tag(pub Context, pub u16);
5    | ------------------------------------- `Tag` defined here
6 ...
7 LL |     match Tag::ExifIFDPointer {
8    |           ^^^^^^^^^^^^^^^^^^^ pattern `Tag(Exif, _)` not covered
9    |
10    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
11    = note: the matched value is of type `Tag`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0004`.