]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-32709.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-32709.stderr
index b4c3f148e32b5e348f69eb422901bc0086e06529..112cb3359322383d564ee0659ab910ccaf6b3574 100644 (file)
@@ -7,6 +7,9 @@ LL |     Err(5)?;
    |           ^ the trait `From<{integer}>` is not implemented for `()`
    |
    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
+   = help: the following other types implement trait `FromResidual<R>`:
+             <Result<T, F> as FromResidual<Result<Infallible, E>>>
+             <Result<T, F> as FromResidual<Yeet<E>>>
    = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, {integer}>>` for `Result<i32, ()>`
 
 error: aborting due to previous error