diff options
| author | Yacin Tmimi <yacintmimi@gmail.com> | 2022-03-18 09:48:45 -0400 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2022-03-21 16:56:34 -0500 |
| commit | 8984438a6faf11e0cb8e876e80f177a42a43904d (patch) | |
| tree | 1e43705d311c43a98f4bfe7b7c1e1561d02ef14d /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 0dba01aee15a45b8417c06df69e38af6956e03a8 (diff) | |
| download | rust-8984438a6faf11e0cb8e876e80f177a42a43904d.tar.gz rust-8984438a6faf11e0cb8e876e80f177a42a43904d.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
