mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 16:28:02 +00:00
14a3da9b16
With this commit I believe I've covered all `compile_error!`-based errors.
12 lines
149 B
Rust
12 lines
149 B
Rust
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
#[derive(Deserialize)]
|
|
#[serde(variant_identifier)]
|
|
enum F {
|
|
#[serde(other)]
|
|
Other,
|
|
}
|
|
|
|
fn main() {}
|