about summary refs log tree commit diff
path: root/src/test/ui/pub/pub-restricted-error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/pub/pub-restricted-error.rs')
-rw-r--r--src/test/ui/pub/pub-restricted-error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pub/pub-restricted-error.rs b/src/test/ui/pub/pub-restricted-error.rs
index 99af031899a..dfc927f2cb5 100644
--- a/src/test/ui/pub/pub-restricted-error.rs
+++ b/src/test/ui/pub/pub-restricted-error.rs
@@ -13,7 +13,7 @@
 struct Bar(pub(()));
 
 struct Foo {
-    pub(crate) () foo: usize,
+    pub(crate) () foo: usize, //~ ERROR expected identifier
 }