]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/nested-return-type2-tait2.stderr
Auto merge of #95604 - nbdd0121:used2, r=petrochenkov
[rust.git] / src / test / ui / impl-trait / nested-return-type2-tait2.stderr
index 4993202e2532e5fa1782ebf62ecc263af54d992c..42e65e692488d6290271b4bce98ea0d59d32dfd9 100644 (file)
@@ -4,6 +4,7 @@ error[E0277]: the trait bound `Sendable: Duh` is not satisfied
 LL |     || 42
    |     ^^^^^ the trait `Duh` is not implemented for `Sendable`
    |
+   = help: the trait `Duh` is implemented for `i32`
 note: required because of the requirements on the impl of `Trait` for `[closure@$DIR/nested-return-type2-tait2.rs:27:5: 27:10]`
   --> $DIR/nested-return-type2-tait2.rs:14:31
    |