summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-82830.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/traits/issue-82830.stderr')
-rw-r--r--src/test/ui/traits/issue-82830.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/traits/issue-82830.stderr b/src/test/ui/traits/issue-82830.stderr
new file mode 100644
index 000000000..f863143c7
--- /dev/null
+++ b/src/test/ui/traits/issue-82830.stderr
@@ -0,0 +1,15 @@
+error[E0275]: overflow evaluating the requirement `P: Sized`
+ --> $DIR/issue-82830.rs:7:8
+ |
+LL | t: MaybeBox<P>,
+ | ^^^^^^^^^^^
+ |
+note: required because of the requirements on the impl of `A<P, Box<P>>` for `P`
+ --> $DIR/issue-82830.rs:10:12
+ |
+LL | impl<Y, N> A<Y, N> for P {
+ | ^^^^^^^ ^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0275`.