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