about summary refs log tree commit diff
path: root/tests/ui/pub/pub-ident-struct-with-lifetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pub/pub-ident-struct-with-lifetime.rs')
-rw-r--r--tests/ui/pub/pub-ident-struct-with-lifetime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/pub/pub-ident-struct-with-lifetime.rs b/tests/ui/pub/pub-ident-struct-with-lifetime.rs
index 2feb0266070..baa5dc8cfb9 100644
--- a/tests/ui/pub/pub-ident-struct-with-lifetime.rs
+++ b/tests/ui/pub/pub-ident-struct-with-lifetime.rs
@@ -1,4 +1,4 @@
 pub S<'a> {
-//~^ ERROR missing `struct` for struct definition
+//~^ ERROR missing `enum` or `struct` for enum or struct definition
 }
 fn main() {}