]> git.proxmox.com Git - rustc.git/blame - src/test/ui/pub/pub-restricted-error-fn.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / pub / pub-restricted-error-fn.stderr
CommitLineData
74b04a01
XL
1error: visibility `pub(crate)` is not followed by an item
2 --> $DIR/pub-restricted-error-fn.rs:1:1
cc61c64b 3 |
532ac7d7 4LL | pub(crate) () fn foo() {}
74b04a01
XL
5 | ^^^^^^^^^^ the visibility
6 |
7 = help: you likely meant to define an item, e.g., `pub(crate) fn foo() {}`
8
9error: expected item, found `(`
10 --> $DIR/pub-restricted-error-fn.rs:1:12
11 |
12LL | pub(crate) () fn foo() {}
13 | ^ expected item
cc61c64b 14
74b04a01 15error: aborting due to 2 previous errors
cc61c64b 16