]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/empty/empty-never-array.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / empty / empty-never-array.stderr
index a4ffceea4c97fc1a6c358a0e4a2e64741d18d895..64d640c0e9dbcae0785a578de4ddd15ff8b514df 100644 (file)
@@ -14,6 +14,7 @@ LL |       let Helper::U(u) = Helper::T(t, []);
    |
    = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
    = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
+   = note: the matched value is of type `Helper<T, U>`
 help: you might want to use `if let` to ignore the variant that isn't matched
    |
 LL |     if let Helper::U(u) = Helper::T(t, []) { /* */ }