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