Skip to content

Instantly share code, notes, and snippets.

@huitseeker
Created January 15, 2020 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huitseeker/bf2a822fdb06fe20bba29b3a82f0ea9f to your computer and use it in GitHub Desktop.
Save huitseeker/bf2a822fdb06fe20bba29b3a82f0ea9f to your computer and use it in GitHub Desktop.
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