summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/private-item-simple.rs
blob: 1f718ed9201a6e795c4b99713bc787eed55a307d (plain)
1
2
3
4
5
6
7
mod a {
    fn f() {}
}

fn main() {
    a::f(); //~ ERROR function `f` is private
}