1 error[E0624]: associated function `foo` is private
2 --> $DIR/private-impl-method.rs:20:7
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`.