]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-ident-fn-3.rs
Auto merge of #98203 - kckeiks:gather-body-owners-in-hir-item-queries, r=cjgillot
[rust.git] / src / test / ui / pub / pub-ident-fn-3.rs
1 // #60115
2
3 mod foo {
4     pub bar();
5     //~^ ERROR missing `fn` or `struct` for function or struct definition
6 }
7
8 fn main() {}