serde/test_suite/tests/compile-fail/remote/bad_remote.rs
2017-04-09 11:11:27 -07:00

17 lines
258 B
Rust

#[macro_use]
extern crate serde_derive;
mod remote {
pub struct S {
a: u8,
}
}
#[derive(Serialize)] //~ ERROR: proc-macro derive panicked
#[serde(remote = "~~~")] //~^ HELP: failed to parse path: "~~~"
struct S {
a: u8,
}
fn main() {}