]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-32709.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-32709.stderr
index cc12c153621ccb8ee0a81eb318780d81bc7beb86..2d020188198af843ff55c811fd2f122c211fd24a 100644 (file)
@@ -7,7 +7,8 @@ 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
-   = note: required by `from`
+   = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, {integer}>>` for `Result<i32, ()>`
+   = note: required by `from_residual`
 
 error: aborting due to previous error