Closed ghost closed 7 months ago
FYI @interruptinuse I'm now see'ing
Variable `__deku___size` should have snake_case name, e.g. `__deku_size` [non_snake_case]`
in my editor :eyes:
Oh, my bad 👀!
~My first instinct was to add #[allow(non_snake_case)]
, however, it might not be sufficient (rust-lang/rust-analyzer#6541)~. EDIT: nevermind! The macro was just missing the attrs in another couple places.
__deku___
(three underscores) so that emitted field reads are immediately obvious in expanded code, although I think two underscores would be valid as well.test_named_struct
.