]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-restricted-error-fn.rs
Auto merge of #98526 - jyn514:download-llvm-outside-checkout, r=Mark-Simulacrum
[rust.git] / src / test / ui / pub / pub-restricted-error-fn.rs
1 pub(crate) () fn foo() {} //~ ERROR visibility `pub(crate)` is not followed by an item
2 //~^ ERROR expected item, found `(`