]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-item-simple.rs
Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt
[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 }