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