Created
May 27, 2017 16:14
-
-
Save samoylovfp/efd0d58ad2b9534c96e5d3e6e1eac5c1 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
#[macro_use] | |
extern crate serde_derive; | |
mod types; | |
fn main() { | |
println!("Hello, world!"); | |
} |
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
error[E0463]: can't find crate for `_serde` | |
--> src/types.rs:1:10 | |
| | |
1 | #[derive(Deserialize)] | |
| ^^^^^^^^^^^ can't find crate | |
error: aborting due to previous error | |
error: Could not compile `test_derive`. |
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
#[derive(Deserialize)] | |
struct Test{ | |
test: u64 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment