]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/privacy/union-field-privacy-2.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / privacy / union-field-privacy-2.rs
index c2458f74bc8f91ed959cf0b04b31b43e71733456..f02e0f8a9b95ebf65e7dc98c8397849a89fb0ebe 100644 (file)
@@ -11,5 +11,5 @@ fn main() {
 
     let a = u.a; // OK
     let b = u.b; // OK
-    let c = u.c; //~ ERROR field `c` of union `m::U` is private
+    let c = u.c; //~ ERROR field `c` of union `U` is private
 }