summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/private-method.stderr
blob: 17c7179dc3684ed53186edb50a13f6f020c1281d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0624]: associated function `nap` is private
  --> $DIR/private-method.rs:22:8
   |
LL |         fn nap(&self) {}
   |         ------------- private associated function defined here
...
LL |   nyan.nap();
   |        ^^^ private associated function

error: aborting due to previous error

For more information about this error, try `rustc --explain E0624`.