os-rust/tests/ui/pub/pub-restricted-error-fn.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
123 B
Rust
Raw Normal View History

2020-02-23 12:54:00 +01:00
pub(crate) () fn foo() {} //~ ERROR visibility `pub(crate)` is not followed by an item
//~^ ERROR expected item, found `(`