mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-05 17:01:07 +00:00
Removed deprected ui/enum-representation/internally-tagged-struct test
This commit is contained in:
1 parent
414fd694c0
commit
8aa5c2b45d
2 files changed
-16
No files matched your search
@@ -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