summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-56031.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-56031.rs')
-rw-r--r--tests/ui/parser/issues/issue-56031.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-56031.rs b/tests/ui/parser/issues/issue-56031.rs
new file mode 100644
index 000000000..b68f56814
--- /dev/null
+++ b/tests/ui/parser/issues/issue-56031.rs
@@ -0,0 +1,6 @@
+struct T;
+
+impl for T {}
+//~^ ERROR missing trait in a trait impl
+
+fn main() {}