Created
July 23, 2019 23:20
-
-
Save SnoozeTime/31295c6a7f67b24574afe9d2a4d59d73 to your computer and use it in GitHub Desktop.
Duplicate definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ image-rs git:(master) ✗ cargo build | |
Compiling image v0.22.0 (/home/benoit/PROJECT/image-rs) | |
error[E0592]: duplicate definitions with name `save` | |
--> src/buffer.rs:766:5 | |
| | |
766 | / pub fn save<Q>(&self, path: Q) -> io::Result<()> | |
767 | | where | |
768 | | Q: AsRef<Path>, | |
769 | | { | |
... | | |
777 | | ) | |
778 | | } | |
| |_____^ duplicate definitions for `save` | |
... | |
790 | / pub fn save<Q>(&self, path: Q) -> io::Result<()> | |
791 | | where | |
792 | | Q: AsRef<Path>, | |
793 | | { | |
794 | | // This is valid as the subpixel is u8. | |
795 | | Ok(()) | |
796 | | } | |
| |_____- other definition for `save` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0592`. | |
error: Could not compile `image`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment