diff options
Diffstat (limited to 'tests/ui/impl-trait/issue-55872-2.stderr')
-rw-r--r-- | tests/ui/impl-trait/issue-55872-2.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issue-55872-2.stderr b/tests/ui/impl-trait/issue-55872-2.stderr new file mode 100644 index 000000000..3e70f1cf8 --- /dev/null +++ b/tests/ui/impl-trait/issue-55872-2.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:14: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:14:9 + | +LL | async {} + | ^^^^^^^^ + +error: aborting due to 2 previous errors + |