1 error[E0624]: associated function `foo` is private
2 --> $DIR/issue-21202.rs:10:14
5 | ^^^ private associated function
7 ::: $DIR/auxiliary/issue-21202.rs:4:9
10 | ------------- private associated function defined here
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0624`.