mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-22 06:19:56 +00:00
Place compile-fail expected errors on their own line
This commit is contained in:
67 files changed
+140
-70
No files matched your search
@@ -9,9 +9,10 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: #[serde(flatten] can not be combined with #[serde(skip_deserializing)]
|
||||
#[derive(Deserialize)]
|
||||
struct Foo {
|
||||
#[serde(flatten, skip_deserializing)]
|
||||
//~^^^ ERROR: #[serde(flatten] can not be combined with #[serde(skip_deserializing)]
|
||||
other: Other,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user