-
-
Save Gisleburt/e2ff74ea23a3adcc04f89ecd39d776a8 to your computer and use it in GitHub Desktop.
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
$ cargo run --bin display-and-vectors | |
Compiling impl-vec v0.1.0 (/Users/danielmason/projects/Apolitical/impl-vec) | |
error[E0117]: only traits defined in the current crate can be implemented for arbitrary types | |
--> src/bin/display-and-vectors.rs:14:1 | |
| | |
14 | impl fmt::Display for Vec<Album> { | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate | |
| | |
= note: the impl does not reference only types defined in this crate | |
= note: define and implement a trait or new type instead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment