about summary refs log tree commit diff
path: root/clippy_dev
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-10 12:18:05 +0000
committerbors <bors@rust-lang.org>2022-01-10 12:18:05 +0000
commit18163617388c32edce09ff3d31adc86e0141cc7d (patch)
treeece4e2d62bcc1df94363cac230e4817799713b0c /clippy_dev
parent88cfd70100366fcd8eebcb33cc20a5c929ccc08a (diff)
parente2ce4f9462c1d65b4dce084186c0e532c27fe5a3 (diff)
Auto merge of #8257 - camsteffen:internal-features, r=giraffate
Combine internal cargo features

changelog: none

This is just simpler and I don't see any downsides.
Diffstat (limited to 'clippy_dev')
-rw-r--r--clippy_dev/src/update_lints.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/update_lints.rs b/clippy_dev/src/update_lints.rs
index 8dd073ef405..d368ef1f46a 100644
--- a/clippy_dev/src/update_lints.rs
+++ b/clippy_dev/src/update_lints.rs
@@ -321,7 +321,7 @@ fn gen_register_lint_list<'a>(
 
     for (is_public, module_name, lint_name) in details {
         if !is_public {
-            output.push_str("    #[cfg(feature = \"internal-lints\")]\n");
+            output.push_str("    #[cfg(feature = \"internal\")]\n");
         }
         output.push_str(&format!("    {}::{},\n", module_name, lint_name));
     }