bilge
bilge copied to clipboard
validate macro input at entry point
if macro input is invalid, we go straight to unreachable
, so something like this
#[bitsize(5)]
union A {
B,
}
would panic with "entered unreachable code: should have already been validated". syn::parse_macro_input!
seems like a more sanitary way to do this.