Compiletest error messages

This commit is contained in:
David Tolnay committed 2016-09-28 12:46:54 -07:00
1 parent 1b6fd5a362
commit b27039d34d
10 files changed
+10 -10

No files matched your search

@@ -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() {}