]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/static/static-method-privacy.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / static / static-method-privacy.stderr
index 569608780def99ee4f066f3a31c38009dc97fa1d..4be1b22fc6b4f4d3b926a4a217f49e198f55a603 100644 (file)
@@ -1,6 +1,9 @@
 error[E0624]: associated function `new` is private
   --> $DIR/static-method-privacy.rs:9:19
    |
+LL |         fn new() -> S { S }
+   |         ------------- private associated function defined here
+...
 LL |     let _ = a::S::new();
    |                   ^^^ private associated function