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)] //~ ERROR: custom derive attribute panicked
struct S {
#[serde(rename(serialize="x", serialize="y"))] // ERROR: duplicate serde attribute `rename`
#[serde(rename(serialize="x", serialize="y"))] //~^^ HELP: duplicate serde attribute `rename`
x: (),
}