]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc-2008-non-exhaustive/uninhabited/match.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / rfc-2008-non-exhaustive / uninhabited / match.stderr
index 961b3e567325f3684354518359e2ce8618ee93a5..1f981ba82d08397217e76fcb9b13d04562805257 100644 (file)
@@ -1,29 +1,29 @@
-error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedEnum` is non-empty
+error[E0004]: non-exhaustive patterns: type `UninhabitedEnum` is non-empty
   --> $DIR/match.rs:19:11
    |
 LL |     match x {}
    |           ^
    |
    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
-   = note: the matched value is of type `uninhabited::UninhabitedEnum`
+   = note: the matched value is of type `UninhabitedEnum`
 
-error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedStruct` is non-empty
+error[E0004]: non-exhaustive patterns: type `UninhabitedStruct` is non-empty
   --> $DIR/match.rs:23:11
    |
 LL |     match x {}
    |           ^
    |
    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
-   = note: the matched value is of type `uninhabited::UninhabitedStruct`
+   = note: the matched value is of type `UninhabitedStruct`
 
-error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedTupleStruct` is non-empty
+error[E0004]: non-exhaustive patterns: type `UninhabitedTupleStruct` is non-empty
   --> $DIR/match.rs:27:11
    |
 LL |     match x {}
    |           ^
    |
    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
-   = note: the matched value is of type `uninhabited::UninhabitedTupleStruct`
+   = note: the matched value is of type `UninhabitedTupleStruct`
 
 error[E0004]: non-exhaustive patterns: `Tuple(_)` and `Struct { .. }` not covered
   --> $DIR/match.rs:31:11
@@ -39,7 +39,7 @@ LL |     #[non_exhaustive] Struct { x: ! }
    |                       ------ not covered
    |
    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
-   = note: the matched value is of type `uninhabited::UninhabitedVariants`
+   = note: the matched value is of type `UninhabitedVariants`
 
 error: aborting due to 4 previous errors