Created
September 21, 2015 15:59
-
-
Save pwoolcoc/b94407ed648a125969f3 to your computer and use it in GitHub Desktop.
Serde error
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 build --verbose | |
Fresh libc v0.1.10 | |
Fresh aster v0.4.6 | |
Fresh winapi v0.2.4 | |
Fresh quasi v0.3.2 | |
Fresh winapi-build v0.1.1 | |
Fresh rustc-serialize v0.3.16 | |
Fresh quasi_codegen v0.3.2 | |
Fresh quasi_macros v0.3.2 | |
Fresh serde_codegen v0.5.3 | |
Fresh advapi32-sys v0.1.2 | |
Fresh serde_macros v0.5.3 | |
Fresh rand v0.3.11 | |
Compiling serde-associated-types v0.1.0 (file:///home/paul/code/serde-associated-types) | |
Running `rustc src/lib.rs --crate-name serde_associated_types --crate-type lib -g --out-dir /home/paul/code/serde-associated-types/target/debug --emit=dep-info,link -L dependency=/home/paul/code/serde-associated-types/target/debug -L dependency=/home/paul/code/serde-associated-types/target/debug/deps --extern serde_macros=/home/paul/code/serde-associated-types/target/debug/deps/libserde_macros-4c372054acc511ae.so --extern serde=/home/paul/code/serde-associated-types/target/debug/deps/libserde-8fb46c7af8b4fdf0.rlib` | |
Fresh num v0.1.27 | |
Fresh serde v0.6.0 | |
<quote expansion>:1:11: 1:18 error: associated type bindings are not allowed here [E0229] | |
<quote expansion>:1 <'__a, N, T = u32> | |
^~~~~~~ | |
src/lib.rs:11:17: 11:26 note: in this expansion of #[derive_Serialize] (defined in src/lib.rs) | |
<quote expansion>:1:43: 1:44 error: the type parameter `T` is not constrained by the impl trait, self type, or predicates [E0207] | |
<quote expansion>:1 <'__a, N: ::serde::ser::Serialize + '__a, T: MyTrait + | |
^ | |
<quote expansion>:1:43: 1:44 help: run `rustc --explain E0207` to see a detailed explanation | |
error: aborting due to 2 previous errors | |
Could not compile `serde-associated-types`. | |
Caused by: | |
Process didn't exit successfully: `rustc src/lib.rs --crate-name serde_associated_types --crate-type lib -g --out-dir /home/paul/code/serde-associated-types/target/debug --emit=dep-info,link -L dependency=/home/paul/code/serde-associated-types/target/debug -L dependency=/home/paul/code/serde-associated-types/target/debug/deps --extern serde_macros=/home/paul/code/serde-associated-types/target/debug/deps/libserde_macros-4c372054acc511ae.so --extern serde=/home/paul/code/serde-associated-types/target/debug/deps/libserde-8fb46c7af8b4fdf0.rlib` (exit code: 101) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment