Closed martinthomson closed 1 year ago
The clippy unused_unit lint is triggered in rust 1.69.0 and later builds.
#[deny(clippy::unused_unit)] #[derive(enumset::EnumSetType)] enum Example { One, Two, }
The compiler output, even with -Z macro-backtrace isn't particularly helpful here, so I can't help identify the cause (the quoted line seems fine).
-Z macro-backtrace
874 | pub fn derive_enum_set_type(input: TokenStream) -> TokenStream { | -------------------------------------------------------------- in this expansion of `#[derive(EnumSetType)]`
The clippy unused_unit lint is triggered in rust 1.69.0 and later builds.
The compiler output, even with
-Z macro-backtrace
isn't particularly helpful here, so I can't help identify the cause (the quoted line seems fine).