diff options
Diffstat (limited to 'src/test/ui/pub/pub-restricted-non-path.stderr')
-rw-r--r-- | src/test/ui/pub/pub-restricted-non-path.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/pub/pub-restricted-non-path.stderr b/src/test/ui/pub/pub-restricted-non-path.stderr new file mode 100644 index 000000000..e0ea50621 --- /dev/null +++ b/src/test/ui/pub/pub-restricted-non-path.stderr @@ -0,0 +1,8 @@ +error: expected identifier, found `.` + --> $DIR/pub-restricted-non-path.rs:3:6 + | +LL | pub (.) fn afn() {} + | ^ expected identifier + +error: aborting due to previous error + |