1 error[E0603]: function `f` is private
2 --> $DIR/private-item-simple.rs:6:8
7 note: the function `f` is defined here
8 --> $DIR/private-item-simple.rs:2:5
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0603`.