]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/traits/method-private.stderr
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / traits / method-private.stderr
index 99f330b38ae3de6e37660b84bd525e0fcc731973..8e991ec018c3e0c105bb4ff32074f132747b3d9d 100644 (file)
@@ -1,6 +1,9 @@
 error[E0624]: associated function `method` is private
   --> $DIR/method-private.rs:19:9
    |
+LL |         fn method(&self) {}
+   |         ---------------- private associated function defined here
+...
 LL |     foo.method();
    |         ^^^^^^ private associated function
    |