v_utils_macros 2.12.12

Macros for my utils crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
use v_utils_macros::SettingsNested;

// Unknown content inside a field-level `#[settings(...)]` must be a hard error,
// not silently ignored (which would drop the directive with no diagnostic).
#[derive(Clone, Debug, Default, SettingsNested)]
pub struct BadConfig {
	#[settings(flaten)] //~ ERROR: unknown `flaten`
	pub nested: u32,
}

fn main() {}