diff options
Diffstat (limited to 'tests/ui/generic-associated-types/issue-87258_a.stderr')
-rw-r--r-- | tests/ui/generic-associated-types/issue-87258_a.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/generic-associated-types/issue-87258_a.stderr b/tests/ui/generic-associated-types/issue-87258_a.stderr new file mode 100644 index 000000000..eae9bd9b1 --- /dev/null +++ b/tests/ui/generic-associated-types/issue-87258_a.stderr @@ -0,0 +1,10 @@ +error: unconstrained opaque type + --> $DIR/issue-87258_a.rs:17:26 + | +LL | type FooFuture<'a> = impl Trait1; + | ^^^^^^^^^^^ + | + = note: `FooFuture` must be used in combination with a concrete type within the same impl + +error: aborting due to previous error + |