Touch up PR 2567

This commit is contained in:
David Tolnay
2024-08-10 23:34:36 -07:00
parent 84c7419652
commit e52b7b380f
4 changed files with 10 additions and 7 deletions
+2
View File
@@ -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 {}