summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pub/pub-ident-fn-3.rs
blob: fdbea7cf487ebf0c513fa1e9d6eafe32884dbf57 (plain)
1
2
3
4
5
6
7
8
// #60115

mod foo {
    pub bar();
    //~^ ERROR missing `fn` or `struct` for function or struct definition
}

fn main() {}