-
Notifications
You must be signed in to change notification settings - Fork 975
Closed
Labels
A-rustfmt::skipArea: `rustfmt::skip` tool attributeArea: `rustfmt::skip` tool attributeC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE
Description
#[rustfmt::skip::attributes(derive)]
#[allow(dead_code)]
#[derive(StructField)]
#[derive(Clone)]
struct Struct {
field: String,
}It will merge #derive(StructField) and #[derive(Clone)] to #derive(StructField, Clone)], when i run cargo fmt.
I don't want to merge #derive(StructField) and #[derive(Clone)].
Metadata
Metadata
Assignees
Labels
A-rustfmt::skipArea: `rustfmt::skip` tool attributeArea: `rustfmt::skip` tool attributeC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE