]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/empty/empty-never-array.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / empty / empty-never-array.stderr
index d865b59f0b9459a5c9ce3f164df3b8f5fcd9d671..a4ffceea4c97fc1a6c358a0e4a2e64741d18d895 100644 (file)
@@ -19,13 +19,6 @@ 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, []) { /* */ }
    |
 
-error[E0381]: use of possibly-uninitialized variable: `u`
-  --> $DIR/empty-never-array.rs:12:5
-   |
-LL |     u
-   |     ^ use of possibly-uninitialized `u`
-
-error: aborting due to 2 previous errors
+error: aborting due to previous error
 
-Some errors have detailed explanations: E0005, E0381.
-For more information about an error, try `rustc --explain E0005`.
+For more information about this error, try `rustc --explain E0005`.