]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/pattern/usefulness/issue-50900.stderr
When finding a match expr with a single arm that requires more, suggest it
[rust.git] / src / test / ui / pattern / usefulness / issue-50900.stderr
index 885e31df1e53038d327efac8666ddda99af6d8e4..8612607fa8bb031f31db8f45ede0b3d02f2fcaa3 100644 (file)
@@ -8,7 +8,11 @@ LL |     match Tag::ExifIFDPointer {
    |           ^^^^^^^^^^^^^^^^^^^ pattern `Tag(Exif, _)` not covered
    |
    = note: the matched value is of type `Tag`
-   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
+help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
+   |
+LL ~         Tag::ExifIFDPointer => {}
+LL +         Tag(Exif, _) => todo!()
+   |
 
 error: aborting due to previous error