$ rustc -V
rustc 1.58.1 (Fedora 1.58.1-1.fc35)
$ cargo install dssim --features webp
[…]
Compiling load_image v2.16.2
error[E0615]: attempted to take value of method `opaque` on type `&loader::Loader`
--> /home/user/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/load_image-2.16.2/src/webp.rs:14:17
|
14 | if self.opaque {
| ^^^^^^ method, not a field
|
help: use parentheses to call the method
|
14 | if self.opaque(_) {
| +++
For more information about this error, try `rustc --explain E0615`.
error: failed to compile `dssim v3.2.0`, intermediate artifacts can be found at `/tmp/cargo-installHjA6kC`
Caused by:
could not compile `load_image` due to previous error