mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 01:18:02 +00:00
Removed deprected ui/enum-representation/internally-tagged-struct test
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Serialize)]
|
||||
#[serde(tag = "type")]
|
||||
struct S;
|
||||
|
||||
fn main() {}
|
||||
@@ -1,8 +0,0 @@
|
||||
error: #[serde(tag = "...")] can only be used on enums
|
||||
--> $DIR/internally-tagged-struct.rs:6:1
|
||||
|
|
||||
6 | struct S;
|
||||
| ^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
Reference in New Issue
Block a user