Created
January 15, 2020 19:17
-
-
Save huitseeker/bf2a822fdb06fe20bba29b3a82f0ea9f 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
Checking algebra v0.1.0 (/home/huitseeker/tmp/zexe/algebra) | |
error[E0210]: type parameter `F` must be used as the type parameter for some local type (e.g., `MyStruct<F>`) | |
--> algebra/src/fields/mod.rs:152:6 | |
| | |
152 | impl<F: Field> AddAssign<F> for F { | |
| ^ type parameter `F` must be used as the type parameter for some local type | |
| | |
= note: implementing a foreign trait is only possible if at least one of the types for which is it implemented is local | |
= note: only traits defined in the current crate can be implemented for a type parameter | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0210`. | |
error: could not compile `algebra`. | |
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