]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-restricted-non-path.stderr
Rollup merge of #98715 - matthiaskrgr:test_97047, r=Mark-Simulacrum
[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