]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-ident-fn-3.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[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() {}