summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pub/pub-ident-struct.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/pub/pub-ident-struct.fixed')
-rw-r--r--src/test/ui/pub/pub-ident-struct.fixed6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/pub/pub-ident-struct.fixed b/src/test/ui/pub/pub-ident-struct.fixed
new file mode 100644
index 000000000..58cde8fd6
--- /dev/null
+++ b/src/test/ui/pub/pub-ident-struct.fixed
@@ -0,0 +1,6 @@
+// run-rustfix
+
+pub struct S {
+//~^ ERROR missing `struct` for struct definition
+}
+fn main() {}