summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-46186.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-46186.fixed')
-rw-r--r--tests/ui/parser/issues/issue-46186.fixed8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-46186.fixed b/tests/ui/parser/issues/issue-46186.fixed
new file mode 100644
index 000000000..2cb5a4996
--- /dev/null
+++ b/tests/ui/parser/issues/issue-46186.fixed
@@ -0,0 +1,8 @@
+// run-rustfix
+
+pub struct Struct {
+ pub a: usize,
+}
+//~^ ERROR expected item, found `;`
+
+fn main() {}