rust/tests/target/issue-5270
Yacin Tmimi 8984438a6f Honor #[rustfmt::skip::attributes(derive)] attribute
Fixes 5270

Previously, rustfmt only checked the `merge_derives` configuration value
to determine if it should merge_derives. This lead to derives being
merged even when annotated with the `rustfmt::skip` attribute.

Now, rustfmt also checks if derives are explicitly being skipped in the
current context via the `rustfmt::skip` attribute.
2022-03-21 16:56:34 -05:00
..
merge_derives_false.rs Honor #[rustfmt::skip::attributes(derive)] attribute 2022-03-21 16:56:34 -05:00
merge_derives_true.rs Honor #[rustfmt::skip::attributes(derive)] attribute 2022-03-21 16:56:34 -05:00