]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-restricted-non-path.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / pub / pub-restricted-non-path.stderr
1 error: expected identifier, found `.`
2   --> $DIR/pub-restricted-non-path.rs:13:6
3    |
4 LL | pub (.) fn afn() {} //~ ERROR expected identifier
5    |      ^ expected identifier
6
7 error: aborting due to previous error
8