Skip to content

Commit a9dddf1

Browse files
committed
rust: deny let_unit_value
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 835f218 commit a9dddf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,8 @@ KBUILD_RUSTFLAGS := --emit=dep-info,obj,metadata --edition=2021 \
540540
-Dunsafe_op_in_unsafe_fn -Drust_2018_idioms \
541541
-Dunreachable_pub -Wmissing_docs
542542
KBUILD_CLIPPYFLAGS := -Dclippy::correctness -Dclippy::style \
543-
-Dclippy::complexity -Dclippy::perf -Dclippy::float_arithmetic
543+
-Dclippy::complexity -Dclippy::perf -Dclippy::float_arithmetic \
544+
-Dclippy::let_unit_value
544545
KBUILD_AFLAGS_KERNEL :=
545546
KBUILD_CFLAGS_KERNEL :=
546547
KBUILD_RUSTFLAGS_KERNEL :=

0 commit comments

Comments
 (0)