mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 04:48:01 +00:00
Switch ui tests to trybuild
This commit is contained in:
@@ -7,6 +7,3 @@ error: enum tags `conflict` for type and content conflict with each other
|
||||
7 | | B,
|
||||
8 | | }
|
||||
| |_^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ error: #[serde(flatten)] cannot be used on newtype structs
|
||||
|
|
||||
6 | struct Foo(#[serde(flatten)] HashMap<String, String>);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@ error: #[serde(flatten)] cannot be used on tuple structs
|
||||
|
|
||||
6 | struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -9,6 +9,3 @@ error: variant field name `conflict` conflicts with internal tag
|
||||
9 | | },
|
||||
10 | | }
|
||||
| |_^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
@@ -9,6 +9,3 @@ error: variant field name `conflict` conflicts with internal tag
|
||||
9 | | },
|
||||
10 | | }
|
||||
| |_^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user