]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | error[E0624]: associated function `foo` is private |
0731742a | 2 | --> $DIR/private-impl-method.rs:20:7 |
b7449926 | 3 | | |
136023e0 XL |
4 | LL | fn foo(&self) {} |
5 | | ------------- private associated function defined here | |
6 | ... | |
532ac7d7 | 7 | LL | s.foo(); |
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`. |