summaryrefslogtreecommitdiffstats
path: root/src/test/ui/impl-trait/issue-55872.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/impl-trait/issue-55872.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/impl-trait/issue-55872.stderr b/src/test/ui/impl-trait/issue-55872.stderr
new file mode 100644
index 000000000..cb370fbe1
--- /dev/null
+++ b/src/test/ui/impl-trait/issue-55872.stderr
@@ -0,0 +1,8 @@
+error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
+ --> $DIR/issue-55872.rs:13:9
+ |
+LL | || ()
+ | ^^^^^
+
+error: aborting due to previous error
+