derive_more
derive_more copied to clipboard
Other macro attributes not passed through to generated code?
trafficstars
Love the library, thanks for your work. Wanted to point out a small bug:
I have a struct like:
#[allow(clippy::too_many_arguments)]
#[derive(Constructor, Clone)]
pub struct SomeStruct {
pub field1: String,
...
pub field10: String
}
The allow attribute doesn't seem to get passed through to the generated constructor. I'd expect this to work generally for lints.
Thanks!