change default value

This commit is contained in:
naosense 2022-11-23 16:50:05 +08:00
parent c9bf4b75ce
commit 1fc98c51df
2 changed files with 2 additions and 2 deletions

View File

@ -413,7 +413,7 @@ pub(crate) fn get_configuration_metadata() -> Vec<ClippyConfiguration> {
/// suggested counterparts are unavailable in constant code. This
/// configuration will cause restriction lints to trigger even
/// if no suggestion can be made.
(suppress_restriction_lint_in_const: bool = true),
(suppress_restriction_lint_in_const: bool = false),
}
/// Search for the configuration file.

View File

@ -1 +1 @@
suppress-restriction-lint-in-const = false
suppress-restriction-lint-in-const = false