einstellung_derive 0.1.6

Proc-Macro crate for einstellung
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
source: einstellung_derive/src/test.rs
expression: formatted
---
/// --- input ---
#[derive(Config)]
enum ServerConfig {
    Active,
    Inactive,
}

/// --- output ---
::core::compile_error! {
    "Unsupported shape `enum`. Expected struct with named fields."
}