]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-22872.stderr
Rollup merge of #98665 - ChrisDenton:deprecated-suggestion, r=compiler-errors
[rust.git] / src / test / ui / issues / issue-22872.stderr
index fd3db9546991c019c6263ec7d47d036577ae7141..a84cb7d8c5922a4f75ee1c9dc7c4cb473966abb3 100644 (file)
@@ -10,11 +10,11 @@ note: required because of the requirements on the impl of `for<'b> Wrap<'b>` for
    |
 LL | impl<'b, P> Wrap<'b> for Wrapper<P>
    |             ^^^^^^^^     ^^^^^^^^^^
-   = note: required for the cast to the object type `dyn for<'b> Wrap<'b>`
+   = note: required for the cast from `Wrapper<P>` to the object type `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 {
-   |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |                                                         ++++++++++++++++++++++++++++++++++++
 
 error: aborting due to previous error