Delete unused statement from PR 2266 test

This commit is contained in:
David Tolnay 2023-07-26 13:45:49 -07:00
parent 2102e1aa42
commit 7255e192d8
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -2267,6 +2267,7 @@ fn test_internally_tagged_enum_with_skipped_conflict() {
enum Data {
A,
#[serde(skip)]
#[allow(dead_code)]
B {
t: String,
},
@ -2276,8 +2277,6 @@ fn test_internally_tagged_enum_with_skipped_conflict() {
},
}
let _data = Data::B { t: "".to_string() };
let data = Data::C { t: "".to_string() };
assert_tokens(