about summary refs log tree commit diff
path: root/src/test/ui/pub/pub-restricted-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/pub/pub-restricted-error.stderr')
-rw-r--r--src/test/ui/pub/pub-restricted-error.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pub/pub-restricted-error.stderr b/src/test/ui/pub/pub-restricted-error.stderr
index b8b4c80778d..cbf206e6aed 100644
--- a/src/test/ui/pub/pub-restricted-error.stderr
+++ b/src/test/ui/pub/pub-restricted-error.stderr
@@ -1,7 +1,7 @@
 error: expected identifier, found `(`
   --> $DIR/pub-restricted-error.rs:16:16
    |
-16 |     pub(crate) () foo: usize,
+16 |     pub(crate) () foo: usize, //~ ERROR expected identifier
    |                ^
 
 error: aborting due to previous error