Skip to content

Commit 3bb4e8d

Browse files
committed
Fix new instance of clippy::derivable_impls
The test explicitly avoids deriving `Default` to make it clear that it's not generated by a macro.
1 parent da1adb9 commit 3bb4e8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

foundations/tests/settings.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ enum NoDefaultEnum {
128128
Variant2,
129129
}
130130

131+
#[expect(clippy::derivable_impls, reason = "explicit impl for testing")]
131132
impl Default for NoDefaultEnum {
132133
fn default() -> Self {
133134
Self::Variant2

0 commit comments

Comments
 (0)