rust/src/test/ui/pub/pub-restricted-error-fn.stderr

9 lines
195 B
Plaintext
Raw Normal View History

error: unmatched visibility `pub`
--> $DIR/pub-restricted-error-fn.rs:13:10
|
2018-02-22 18:42:32 -06:00
LL | pub(crate) () fn foo() {} //~ unmatched visibility
| ^
error: aborting due to previous error