Skip to content

Commit 1fc98c5

Browse files
committed
change default value
1 parent c9bf4b7 commit 1fc98c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/utils/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ define_Conf! {
413413
/// suggested counterparts are unavailable in constant code. This
414414
/// configuration will cause restriction lints to trigger even
415415
/// if no suggestion can be made.
416-
(suppress_restriction_lint_in_const: bool = true),
416+
(suppress_restriction_lint_in_const: bool = false),
417417
}
418418

419419
/// Search for the configuration file.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
suppress-restriction-lint-in-const = false
1+
suppress-restriction-lint-in-const = false

0 commit comments

Comments
 (0)