kornelski / lodepng-rust

All-in-one PNG image encoder/decoder in pure Rust
https://lib.rs/lodepng
zlib License
100 stars 23 forks source link

Build fails, due to wrong number of arguments given to debug_assert_eq #15

Closed eugene2k closed 8 years ago

eugene2k commented 8 years ago
/home/me/.multirust/toolchains/stable/cargo/registry/src/github.com-1ecc6299db9ec823/lodepng-0.12.3/src/lib.rs:603:53: 603:54 error: no rules expected the token `,`
/home/me/.multirust/toolchains/stable/cargo/registry/src/github.com-1ecc6299db9ec823/lodepng-0.12.3/src/lib.rs:603         debug_assert_eq!(image_bytes, required_bytes, "Image is {} bytes large ({}x{}x{}), but needs to be {} ({:?}, {})",
                                                                                                                                                                       ^
Build failed, waiting for other jobs to finish...
error: Could not compile `lodepng`.

Should be just two arguments.

kornelski commented 8 years ago

Are you using Rust 1.11? I think this feature should be in stable now.

eugene2k commented 8 years ago

Ah, I see. No, I'm on 1.10 atm. Will update now.

kornelski commented 8 years ago

Since it's compatible with the current stable I'm going to leave it as is.