fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
740 B21 linesraw
1error[E0004]: non-exhaustive patterns: `Tag(Context::Exif, _)` not covered
2  --> $DIR/issue-50900.rs:15:11
3   |
4LL |     match Tag::ExifIFDPointer {
5   |           ^^^^^^^^^^^^^^^^^^^ pattern `Tag(Context::Exif, _)` not covered
6   |
7note: `Tag` defined here
8  --> $DIR/issue-50900.rs:2:12
9   |
10LL | pub struct Tag(pub Context, pub u16);
11   |            ^^^
12   = note: the matched value is of type `Tag`
13help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
14   |
15LL ~         Tag::ExifIFDPointer => {},
16LL +         Tag(Context::Exif, _) => todo!()
17   |
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0004`.