mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-14 11:27:05 +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,11 +9,12 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Deserialize)] //~ ERROR: 12:10: 12:21: variant_identifier may only contain unit variants
|
||||
#[derive(Deserialize)]
|
||||
#[serde(variant_identifier)]
|
||||
enum F {
|
||||
A,
|
||||
B(u8, u8),
|
||||
//~^^^^^ ERROR: variant_identifier may only contain unit variants
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in new issue
Block a user