]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/privacy/private-method-inherited.rs
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / privacy / private-method-inherited.rs
index 2f6454288ae6884a9e731e62f60d0874ccf0c27c..bc27027e886ba5e8393f4b0c476c01e8754c5104 100644 (file)
@@ -10,5 +10,5 @@ mod a {
 
 fn main() {
     let x = a::Foo;
-    x.f();  //~ ERROR associated function `f` is private
+    x.f();  //~ ERROR method `f` is private
 }