diff options
| author | Philipp Krones <hello@philkrones.com> | 2022-08-11 19:42:16 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2022-08-11 19:42:16 +0200 |
| commit | dc29cfb8d5338af23e6b06aaff6cc0229e688da0 (patch) | |
| tree | fa40202be0b823c66362915e3aa6a877578368d1 /clippy_lints/src/utils/internal_lints | |
| parent | f719599c0f8eedc504ddedfcbb9e196128b8b129 (diff) | |
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
Diffstat (limited to 'clippy_lints/src/utils/internal_lints')
| -rw-r--r-- | clippy_lints/src/utils/internal_lints/metadata_collector.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/utils/internal_lints/metadata_collector.rs b/clippy_lints/src/utils/internal_lints/metadata_collector.rs index 92934c16d4b..92cf42c7ad4 100644 --- a/clippy_lints/src/utils/internal_lints/metadata_collector.rs +++ b/clippy_lints/src/utils/internal_lints/metadata_collector.rs @@ -619,7 +619,7 @@ impl<'hir> LateLintPass<'hir> for MetadataCollector { if_chain! { // item validation if is_lint_ref_type(cx, ty); - // blacklist check + // disallow check let lint_name = sym_to_string(item.ident.name).to_ascii_lowercase(); if !BLACK_LISTED_LINTS.contains(&lint_name.as_str()); // metadata extraction @@ -644,7 +644,7 @@ impl<'hir> LateLintPass<'hir> for MetadataCollector { if_chain! { if is_deprecated_lint(cx, ty); - // blacklist check + // disallow check let lint_name = sym_to_string(item.ident.name).to_ascii_lowercase(); if !BLACK_LISTED_LINTS.contains(&lint_name.as_str()); // Metadata the little we can get from a deprecated lint |
