]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-restricted-non-path.stderr
Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov
[rust.git] / src / test / ui / pub / pub-restricted-non-path.stderr
1 error: expected identifier, found `.`
2   --> $DIR/pub-restricted-non-path.rs:3:6
3    |
4 LL | pub (.) fn afn() {}
5    |      ^ expected identifier
6
7 error: aborting due to previous error
8