derive_more icon indicating copy to clipboard operation
derive_more copied to clipboard

Other macro attributes not passed through to generated code?

Open Sushisource opened this issue 6 years ago • 0 comments
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!

Sushisource avatar Nov 18 '19 21:11 Sushisource