Skip to content

Instantly share code, notes, and snippets.

@samoylovfp
Created May 27, 2017 16:14
Show Gist options
  • Save samoylovfp/efd0d58ad2b9534c96e5d3e6e1eac5c1 to your computer and use it in GitHub Desktop.
Save samoylovfp/efd0d58ad2b9534c96e5d3e6e1eac5c1 to your computer and use it in GitHub Desktop.
#[macro_use]
extern crate serde_derive;
mod types;
fn main() {
println!("Hello, world!");
}
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`.
#[derive(Deserialize)]
struct Test{
test: u64
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment