]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/impl-trait/nested-return-type2-tait2.stderr
Fix #106496, suggest remove deref for type mismatch
[rust.git] / tests / ui / impl-trait / nested-return-type2-tait2.stderr
index 348c737b0b1658fd17cacc5754b655d5293f874d..b85bb5efd100ae215266882aa180b8484f4e3e63 100644 (file)
@@ -9,7 +9,9 @@ note: required for `[closure@$DIR/nested-return-type2-tait2.rs:27:5: 27:7]` to i
   --> $DIR/nested-return-type2-tait2.rs:14:31
    |
 LL | impl<R: Duh, F: FnMut() -> R> Trait for F {
-   |                               ^^^^^     ^
+   |         ---                   ^^^^^     ^
+   |         |
+   |         unsatisfied trait bound introduced here
 
 error: aborting due to previous error