mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 00:08:01 +00:00
Touch up PR 2567
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#![allow(dead_code)] // we do not read enum fields
|
||||
|
||||
use serde_derive::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
@@ -12,5 +13,6 @@ pub enum A {
|
||||
e: E,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct E {}
|
||||
|
||||
Reference in New Issue
Block a user