1error[E0624]: associated function `nap` is private
2  --> $DIR/private-method.rs:22:8
3   |
4LL |         fn nap(&self) {}
5   |         ------------- private associated function defined here
6...
7LL |   nyan.nap();
8   |        ^^^ private associated function
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0624`.
13