Fix proc macro panic message in tests

This commit is contained in:
David Tolnay
2017-02-08 08:12:32 -08:00
parent 529a1cfedb
commit 45a36f1219
14 changed files with 14 additions and 14 deletions
@@ -1,7 +1,7 @@
#[macro_use]
extern crate serde_derive;
#[derive(Serialize, Deserialize)] //~ ERROR: custom derive attribute panicked
#[derive(Serialize, Deserialize)] //~ ERROR: proc-macro derive panicked
struct Test<'a> {
s: &'a str, //~^^ HELP: Serde does not support deserializing fields of type &str
}