]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/struct-field-privacy.rs
Auto merge of #31052 - bluss:split-at-mut-str, r=alexcrichton
[rust.git] / src / test / compile-fail / struct-field-privacy.rs
index aae09cc0eae5cb985376d02a0697dced7c56e5a4..2ff48b73e294c415bcb02f51f05046d8dbb02f95 100644 (file)
@@ -28,7 +28,7 @@ pub struct B {
 }
 
 fn test(a: A, b: inner::A, c: inner::B, d: xc::A, e: xc::B) {
-    //~^ ERROR: type `A` is private
+    //~^ ERROR: struct `A` is private
     //~^^ ERROR: struct `A` is private
 
     a.a;