]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-item-simple.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / privacy / private-item-simple.rs
1 mod a {
2     fn f() {}
3 }
4
5 fn main() {
6     a::f(); //~ ERROR function `f` is private
7 }