Compiletest error messages

This commit is contained in:
David Tolnay
2016-09-28 12:46:54 -07:00
parent 1b6fd5a362
commit b27039d34d
10 changed files with 10 additions and 10 deletions
@@ -5,7 +5,7 @@ extern crate serde_derive;
#[derive(Serialize, Deserialize)] //~ ERROR: custom derive attribute panicked
struct Test<'a> {
s: &'a str, // ERROR: Serde does not support deserializing fields of type &str
s: &'a str, //~^^ HELP: Serde does not support deserializing fields of type &str
}
fn main() {}