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