diff options
Diffstat (limited to 'tests/ui/generic-associated-types/bugs/issue-87735.stderr')
-rw-r--r-- | tests/ui/generic-associated-types/bugs/issue-87735.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/generic-associated-types/bugs/issue-87735.stderr b/tests/ui/generic-associated-types/bugs/issue-87735.stderr new file mode 100644 index 000000000..ebe2054ce --- /dev/null +++ b/tests/ui/generic-associated-types/bugs/issue-87735.stderr @@ -0,0 +1,9 @@ +error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates + --> $DIR/issue-87735.rs:25:13 + | +LL | impl<'b, T, U> AsRef2 for Foo<T> + | ^ unconstrained type parameter + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0207`. |