1 error[E0624]: associated function `nap` is private
2 --> $DIR/private-method.rs:22:8
5 | ------------- private associated function defined here
8 | ^^^ private associated function
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0624`.