14a3da9b16
With this commit I believe I've covered all `compile_error!`-based errors.
11 lines
136 B
Rust
11 lines
136 B
Rust
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
#[derive(Serialize)]
|
|
#[serde(transparent, from = "u64")]
|
|
struct S {
|
|
a: u8,
|
|
}
|
|
|
|
fn main() {}
|