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