mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 08:18:03 +00:00
Improve UI test coverage
With this commit I believe I've covered all `compile_error!`-based errors.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
#[derive(Serialize)]
|
||||
#[serde(rename_all = "abc")]
|
||||
struct S {
|
||||
name: u8,
|
||||
long_name: u8,
|
||||
very_long_name: u8,
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user