summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-22872.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-22872.stderr')
-rw-r--r--tests/ui/issues/issue-22872.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-22872.stderr b/tests/ui/issues/issue-22872.stderr
index 951019719..63222d25c 100644
--- a/tests/ui/issues/issue-22872.stderr
+++ b/tests/ui/issues/issue-22872.stderr
@@ -13,7 +13,7 @@ LL | impl<'b, P> Wrap<'b> for Wrapper<P>
LL | where P: Process<'b>,
LL | <P as Process<'b>>::Item: Iterator {
| -------- unsatisfied trait bound introduced here
- = note: required for the cast from `Wrapper<P>` to the object type `dyn for<'b> Wrap<'b>`
+ = note: required for the cast from `Box<Wrapper<P>>` to `Box<dyn for<'b> Wrap<'b>>`
help: consider further restricting the associated type
|
LL | fn push_process<P>(process: P) where P: Process<'static>, <P as Process<'_>>::Item: Iterator {