1 error[E0446]: private type `Bar` in public interface
5 | ---------- `Bar` declared as private
7 LL | pub fn bar() -> Bar {
8 | ^^^^^^^^^^^^^^^^^^^ can't leak private type
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0446`.