We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9bf4b7 commit 1fc98c5Copy full SHA for 1fc98c5
clippy_lints/src/utils/conf.rs
@@ -413,7 +413,7 @@ define_Conf! {
413
/// suggested counterparts are unavailable in constant code. This
414
/// configuration will cause restriction lints to trigger even
415
/// if no suggestion can be made.
416
- (suppress_restriction_lint_in_const: bool = true),
+ (suppress_restriction_lint_in_const: bool = false),
417
}
418
419
/// Search for the configuration file.
tests/ui-toml/suppress_lint_in_const/clippy.toml
@@ -1 +1 @@
1
-suppress-restriction-lint-in-const = false
+suppress-restriction-lint-in-const = false
0 commit comments