]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/resolve/privacy-enum-ctor.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / resolve / privacy-enum-ctor.stderr
index 0bb09090569cbc20084320ac2a35558d2371dc38..b10eded015f8cfcb61f876612b4a94fe9930b791 100644 (file)
@@ -228,7 +228,9 @@ error[E0603]: enum `Z` is private
   --> $DIR/privacy-enum-ctor.rs:61:22
    |
 LL |     let _: Z = m::n::Z::Fn;
-   |                      ^ private enum
+   |                      ^  -- tuple variant `Fn` is not publicly re-exported
+   |                      |
+   |                      private enum
    |
 note: the enum `Z` is defined here
   --> $DIR/privacy-enum-ctor.rs:11:9
@@ -252,7 +254,9 @@ error[E0603]: enum `Z` is private
   --> $DIR/privacy-enum-ctor.rs:68:22
    |
 LL |     let _: Z = m::n::Z::Unit {};
-   |                      ^ private enum
+   |                      ^  ---- variant `Unit` is not publicly re-exported
+   |                      |
+   |                      private enum
    |
 note: the enum `Z` is defined here
   --> $DIR/privacy-enum-ctor.rs:11:9