diff options
Diffstat (limited to 'tests/ui/type-alias-impl-trait/nested-tait-inference3.stderr')
-rw-r--r-- | tests/ui/type-alias-impl-trait/nested-tait-inference3.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/type-alias-impl-trait/nested-tait-inference3.stderr b/tests/ui/type-alias-impl-trait/nested-tait-inference3.stderr new file mode 100644 index 000000000..b1d947a9c --- /dev/null +++ b/tests/ui/type-alias-impl-trait/nested-tait-inference3.stderr @@ -0,0 +1,10 @@ +error: unconstrained opaque type + --> $DIR/nested-tait-inference3.rs:6:13 + | +LL | type FooX = impl Debug; + | ^^^^^^^^^^ + | + = note: `FooX` must be used in combination with a concrete type within the same module + +error: aborting due to previous error + |