It is not compiling because of:
? couldn't convert the error to Error
--> src/main.rs:90:35
|
67 | fn main() -> Result<()> {
| ---------- expected Error because of this
...
90 | let _ = img.save("output.png")?;
| ^ the trait From<ImageError> is not implemented for Error
It is not compiling because of:
?
couldn't convert the error toError
--> src/main.rs:90:35 | 67 | fn main() -> Result<()> { | ---------- expectedError
because of this ... 90 | let _ = img.save("output.png")?; | ^ the traitFrom<ImageError>
is not implemented forError