Delete unused statement from PR 2266 test
This commit is contained in:
parent
2102e1aa42
commit
7255e192d8
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user