From c86bd146027911320e3b3d6ec1432ef6130d6bf9 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Mon, 13 Nov 2023 14:35:37 +0100 Subject: [PATCH 01/14] Do not run lints that cannot emit --- .gitignore | 1 - Cargo.lock | 1 + .../rustc_builtin_macros/src/compile_error.rs | 4 +- compiler/rustc_builtin_macros/src/errors.rs | 8 +- compiler/rustc_lint/src/builtin.rs | 6 +- compiler/rustc_lint/src/early.rs | 3 + compiler/rustc_lint/src/late.rs | 45 +- compiler/rustc_lint/src/levels.rs | 40 +- compiler/rustc_lint/src/lib.rs | 26 +- compiler/rustc_lint/src/passes.rs | 10 +- compiler/rustc_lint/src/types.rs | 2 +- compiler/rustc_lint/src/unused.rs | 4 +- compiler/rustc_lint_defs/src/lib.rs | 18 +- compiler/rustc_middle/Cargo.toml | 1 + compiler/rustc_middle/src/lint.rs | 2 +- compiler/rustc_middle/src/query/mod.rs | 6 + config.toml | 858 +++ hi | 74 + hi.meow | 4750 +++++++++++++++++ src/librustdoc/lint.rs | 7 +- .../clippy/clippy_lints/src/asm_syntax.rs | 10 +- src/tools/clippy/tests/ui/string_slice.rs | 2 +- 22 files changed, 5827 insertions(+), 51 deletions(-) create mode 100644 config.toml create mode 100644 hi create mode 100644 hi.meow diff --git a/.gitignore b/.gitignore index 485968d9c56ff..1e81f0de3b287 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,6 @@ Session.vim !/tests/run-make/thumb-none-qemu/example/.cargo ## Configuration -/config.toml /Makefile config.mk config.stamp diff --git a/Cargo.lock b/Cargo.lock index df4e4f326135e..fd1bfa5413809 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4342,6 +4342,7 @@ dependencies = [ "rustc_hir", "rustc_hir_pretty", "rustc_index", + "rustc_lint_defs", "rustc_macros", "rustc_query_system", "rustc_serialize", diff --git a/compiler/rustc_builtin_macros/src/compile_error.rs b/compiler/rustc_builtin_macros/src/compile_error.rs index a08e8b2819b56..2ff6834223523 100644 --- a/compiler/rustc_builtin_macros/src/compile_error.rs +++ b/compiler/rustc_builtin_macros/src/compile_error.rs @@ -18,8 +18,8 @@ pub(crate) fn expand_compile_error<'cx>( Err(guar) => return ExpandResult::Ready(DummyResult::any(sp, guar)), }; - #[expect(rustc::diagnostic_outside_of_impl, reason = "diagnostic message is specified by user")] - #[expect(rustc::untranslatable_diagnostic, reason = "diagnostic message is specified by user")] + // #[expect(rustc::diagnostic_outside_of_impl, reason = "diagnostic message is specified by user")] + // #[expect(rustc::untranslatable_diagnostic, reason = "diagnostic message is specified by user")] let guar = cx.dcx().span_err(sp, var.to_string()); ExpandResult::Ready(DummyResult::any(sp, guar)) diff --git a/compiler/rustc_builtin_macros/src/errors.rs b/compiler/rustc_builtin_macros/src/errors.rs index d157703723beb..2d0840f2a9fa0 100644 --- a/compiler/rustc_builtin_macros/src/errors.rs +++ b/compiler/rustc_builtin_macros/src/errors.rs @@ -428,10 +428,10 @@ pub(crate) struct EnvNotDefinedWithUserMessage { impl<'a, G: EmissionGuarantee> Diagnostic<'a, G> for EnvNotDefinedWithUserMessage { #[track_caller] fn into_diag(self, dcx: &'a DiagCtxt, level: Level) -> Diag<'a, G> { - #[expect( - rustc::untranslatable_diagnostic, - reason = "cannot translate user-provided messages" - )] + // #[expect( + // rustc::untranslatable_diagnostic, + // reason = "cannot translate user-provided messages" + // )] let mut diag = Diag::new(dcx, level, self.msg_from_user.to_string()); diag.span(self.span); diag diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index b9be92b89afdf..f637428cb8147 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -74,6 +74,7 @@ use rustc_trait_selection::traits::{self, misc::type_allowed_to_implement_copy}; use crate::nonstandard_style::{method_context, MethodLateContext}; use std::fmt::Write; +use std::default::Default; // hardwired lints from rustc_lint_defs pub use rustc_session::lint::builtin::*; @@ -462,6 +463,7 @@ declare_lint! { report_in_external_macro } +#[derive(Default)] pub struct MissingDoc; impl_lint_pass!(MissingDoc => [MISSING_DOCS]); @@ -903,8 +905,8 @@ pub struct DeprecatedAttr { impl_lint_pass!(DeprecatedAttr => []); -impl DeprecatedAttr { - pub fn new() -> DeprecatedAttr { +impl Default for DeprecatedAttr { + fn default() -> Self { DeprecatedAttr { depr_attrs: deprecated_attributes() } } } diff --git a/compiler/rustc_lint/src/early.rs b/compiler/rustc_lint/src/early.rs index 3f627baf7704f..503dc3e96071b 100644 --- a/compiler/rustc_lint/src/early.rs +++ b/compiler/rustc_lint/src/early.rs @@ -316,6 +316,9 @@ impl LintPass for RuntimeCombinedEarlyLintPass<'_> { fn name(&self) -> &'static str { panic!() } + fn get_lints(&self) -> crate::LintVec { + panic!() + } } macro_rules! impl_early_lint_pass { diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index ca188277b9dee..35f842afc3c29 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -14,7 +14,7 @@ //! upon. As the ast is traversed, this keeps track of the current lint level //! for all lint attributes. -use crate::{passes::LateLintPassObject, LateContext, LateLintPass, LintStore}; +use crate::{passes::LateLintPassObject, LateContext, LateLintPass, LintStore, LintId}; use rustc_data_structures::stack::ensure_sufficient_stack; use rustc_data_structures::sync::{join, Lrc}; use rustc_hir as hir; @@ -325,6 +325,9 @@ impl LintPass for RuntimeCombinedLateLintPass<'_, '_> { fn name(&self) -> &'static str { panic!() } + fn get_lints(&self) -> crate::LintVec { + panic!() + } } macro_rules! impl_late_lint_pass { @@ -360,13 +363,22 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>( // Note: `passes` is often empty. In that case, it's faster to run // `builtin_lints` directly rather than bundling it up into the // `RuntimeCombinedLateLintPass`. - let late_module_passes = &unerased_lint_store(tcx.sess).late_module_passes; - if late_module_passes.is_empty() { - late_lint_mod_inner(tcx, module_def_id, context, builtin_lints); - } else { - let mut passes: Vec<_> = late_module_passes.iter().map(|mk_pass| (mk_pass)(tcx)).collect(); - passes.push(Box::new(builtin_lints)); - let pass = RuntimeCombinedLateLintPass { passes: &mut passes[..] }; +let store = unerased_lint_store(tcx.sess); + + if store.late_module_passes.is_empty() { + late_lint_mod_inner(tcx, module_def_id, context, builtin_lints); + } else { + let passes: Vec<_> = store + .late_module_passes + .iter() + .map(|mk_pass| (mk_pass)(tcx)) + .collect(); + let emittable_lints = tcx.lints_that_can_emit(()); + let mut filtered_passes: Vec>> = passes.into_iter().filter(|pass| { + LintPass::get_lints(pass).iter().any(|&lint| emittable_lints.contains(&LintId::of(lint))) + }).collect(); + filtered_passes.push(Box::new(builtin_lints)); + let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; late_lint_mod_inner(tcx, module_def_id, context, pass); } } @@ -397,7 +409,7 @@ fn late_lint_mod_inner<'tcx, T: LateLintPass<'tcx>>( fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { // Note: `passes` is often empty. - let mut passes: Vec<_> = + let passes: Vec<_> = unerased_lint_store(tcx.sess).late_passes.iter().map(|mk_pass| (mk_pass)(tcx)).collect(); if passes.is_empty() { @@ -415,7 +427,20 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { only_module: false, }; - let pass = RuntimeCombinedLateLintPass { passes: &mut passes[..] }; + let hashmap = tcx.lints_that_can_emit(()); + + let mut filtered_passes: Vec>> = passes.into_iter().filter(|pass| { + LintPass::get_lints(pass).iter().any(|&lint| hashmap.contains(&LintId::of(lint))) + }).collect(); + + // let mut passes: Vec>> = passes + // .into_iter() + // .filter(|pass| { + // LintPass::get_lints(pass).iter().any(|&lint| ) + // }) + // .collect(); + + let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; late_lint_crate_inner(tcx, context, pass); } diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 12b3d1d2f9e4f..ac99779f24010 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -151,6 +151,42 @@ fn lint_expectations(tcx: TyCtxt<'_>, (): ()) -> Vec<(LintExpectationId, LintExp builder.provider.expectations } +/// Walk the whole crate collecting nodes where lint levels change +/// (e.g. `#[allow]` attributes), and joins that list with the warn-by-default +/// (and not allowed in the crate) and CLI lints. The final result is a builder +/// that has information about just lints that can be emitted (leaving out +/// globally-allowed lints) +pub fn lints_that_can_emit( + tcx: TyCtxt<'_>, + (): () +) -> Vec { + let store = unerased_lint_store(&tcx.sess); + + // let mut builder = LintLevelsBuilder { + // sess: tcx.sess, + // features: tcx.features(), + // provider: + // warn_about_weird_lints: false, + // store, + // registered_tools: &tcx.registered_tools(()), + // }; + let specs = tcx.shallow_lint_levels_on(hir::CRATE_HIR_ID.owner); + let lints = store.get_lints(); + + let mut hashmap: Vec = Vec::new(); + hashmap.reserve((lints.len() >> 1) * usize::from(tcx.sess.opts.lint_cap.is_some())); // Avoid allocations, it's better to + + for &lint in lints { + let lint_id = LintId::of(lint); + let actual_level = specs.probe_for_lint_level(tcx, lint_id, hir::CRATE_HIR_ID).0.unwrap_or(lint.default_level); + if actual_level > Level::Allow { + hashmap.push(lint_id); + } + } + + hashmap +} + #[instrument(level = "trace", skip(tcx), ret)] fn shallow_lint_levels_on(tcx: TyCtxt<'_>, owner: hir::OwnerId) -> ShallowLintLevelMap { let store = unerased_lint_store(tcx.sess); @@ -253,7 +289,7 @@ impl LintLevelsProvider for LintLevelQueryMap<'_> { } } -struct QueryMapExpectationsWrapper<'tcx> { +pub(crate) struct QueryMapExpectationsWrapper<'tcx> { tcx: TyCtxt<'tcx>, /// HirId of the currently investigated element. cur: HirId, @@ -1133,7 +1169,7 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> { } pub(crate) fn provide(providers: &mut Providers) { - *providers = Providers { shallow_lint_levels_on, lint_expectations, ..*providers }; + *providers = Providers { shallow_lint_levels_on, lint_expectations, lints_that_can_emit, ..*providers }; } pub fn parse_lint_and_tool_name(lint_name: &str) -> (Option, &str) { diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index a78b410f500c1..e17d50d873bcb 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -30,6 +30,7 @@ #![feature(rustdoc_internals)] #![feature(array_windows)] #![feature(box_patterns)] +#![feature(box_into_inner)] #![feature(control_flow_enum)] #![feature(extract_if)] #![feature(if_let_guard)] @@ -136,6 +137,9 @@ pub fn provide(providers: &mut Providers) { } fn lint_mod(tcx: TyCtxt<'_>, module_def_id: LocalModDefId) { + if let Some(lint_cap) = tcx.sess.opts.lint_cap && lint_cap == Level::Allow { + return; + } late_lint_mod(tcx, module_def_id, BuiltinCombinedModuleLateLintPass::new()); } @@ -154,7 +158,7 @@ early_lint_methods!( [ pub BuiltinCombinedEarlyLintPass, [ - UnusedParens: UnusedParens::new(), + UnusedParens: UnusedParens::default(), UnusedBraces: UnusedBraces, UnusedImportBraces: UnusedImportBraces, UnsafeCode: UnsafeCode, @@ -162,7 +166,7 @@ early_lint_methods!( AnonymousParameters: AnonymousParameters, EllipsisInclusiveRangePatterns: EllipsisInclusiveRangePatterns::default(), NonCamelCaseTypes: NonCamelCaseTypes, - DeprecatedAttr: DeprecatedAttr::new(), + DeprecatedAttr: DeprecatedAttr::default(), WhileTrue: WhileTrue, NonAsciiIdents: NonAsciiIdents, HiddenUnicodeCodepoints: HiddenUnicodeCodepoints, @@ -542,23 +546,23 @@ fn register_builtins(store: &mut LintStore) { } fn register_internals(store: &mut LintStore) { - store.register_lints(&LintPassImpl::get_lints()); + store.register_lints(&LintPassImpl::default().get_lints()); store.register_early_pass(|| Box::new(LintPassImpl)); - store.register_lints(&DefaultHashTypes::get_lints()); + store.register_lints(&DefaultHashTypes::default().get_lints()); store.register_late_mod_pass(|_| Box::new(DefaultHashTypes)); - store.register_lints(&QueryStability::get_lints()); + store.register_lints(&QueryStability::default().get_lints()); store.register_late_mod_pass(|_| Box::new(QueryStability)); - store.register_lints(&ExistingDocKeyword::get_lints()); + store.register_lints(&ExistingDocKeyword::default().get_lints()); store.register_late_mod_pass(|_| Box::new(ExistingDocKeyword)); - store.register_lints(&TyTyKind::get_lints()); + store.register_lints(&TyTyKind::default().get_lints()); store.register_late_mod_pass(|_| Box::new(TyTyKind)); - store.register_lints(&Diagnostics::get_lints()); + store.register_lints(&Diagnostics::default().get_lints()); store.register_late_mod_pass(|_| Box::new(Diagnostics)); - store.register_lints(&BadOptAccess::get_lints()); + store.register_lints(&BadOptAccess::default().get_lints()); store.register_late_mod_pass(|_| Box::new(BadOptAccess)); - store.register_lints(&PassByValue::get_lints()); + store.register_lints(&PassByValue::default().get_lints()); store.register_late_mod_pass(|_| Box::new(PassByValue)); - store.register_lints(&SpanUseEqCtxt::get_lints()); + store.register_lints(&SpanUseEqCtxt::default().get_lints()); store.register_late_mod_pass(|_| Box::new(SpanUseEqCtxt)); // FIXME(davidtwco): deliberately do not include `UNTRANSLATABLE_DIAGNOSTIC` and // `DIAGNOSTIC_OUTSIDE_OF_IMPL` here because `-Wrustc::internal` is provided to every crate and diff --git a/compiler/rustc_lint/src/passes.rs b/compiler/rustc_lint/src/passes.rs index d8ba84eb7a1a8..f66a164ba1b7d 100644 --- a/compiler/rustc_lint/src/passes.rs +++ b/compiler/rustc_lint/src/passes.rs @@ -108,7 +108,7 @@ macro_rules! declare_combined_late_lint_pass { $v fn get_lints() -> $crate::LintVec { let mut lints = Vec::new(); - $(lints.extend_from_slice(&$pass::get_lints());)* + $(lints.extend_from_slice(&$pass::default().get_lints());)* lints } } @@ -122,6 +122,9 @@ macro_rules! declare_combined_late_lint_pass { fn name(&self) -> &'static str { panic!() } + fn get_lints(&self) -> LintVec { + panic!() + } } ) } @@ -218,7 +221,7 @@ macro_rules! declare_combined_early_lint_pass { $v fn get_lints() -> $crate::LintVec { let mut lints = Vec::new(); - $(lints.extend_from_slice(&$pass::get_lints());)* + $(lints.extend_from_slice(&$pass::default().get_lints());)* lints } } @@ -232,6 +235,9 @@ macro_rules! declare_combined_early_lint_pass { fn name(&self) -> &'static str { panic!() } + fn get_lints(&self) -> LintVec { + panic!() + } } ) } diff --git a/compiler/rustc_lint/src/types.rs b/compiler/rustc_lint/src/types.rs index f9f766f832af7..9ee7a55e29f8f 100644 --- a/compiler/rustc_lint/src/types.rs +++ b/compiler/rustc_lint/src/types.rs @@ -170,7 +170,7 @@ declare_lint! { "detects ambiguous wide pointer comparisons" } -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Default)] pub struct TypeLimits { /// Id of the last visited negated expression negated_expr_id: Option, diff --git a/compiler/rustc_lint/src/unused.rs b/compiler/rustc_lint/src/unused.rs index 8866b2be07847..8152941fb2be6 100644 --- a/compiler/rustc_lint/src/unused.rs +++ b/compiler/rustc_lint/src/unused.rs @@ -1018,8 +1018,8 @@ pub struct UnusedParens { parens_in_cast_in_lt: Vec, } -impl UnusedParens { - pub fn new() -> Self { +impl Default for UnusedParens { + fn default() -> Self { Self { with_self_ty_parens: false, parens_in_cast_in_lt: Vec::new() } } } diff --git a/compiler/rustc_lint_defs/src/lib.rs b/compiler/rustc_lint_defs/src/lib.rs index ed165188787a5..6fc685e083d8f 100644 --- a/compiler/rustc_lint_defs/src/lib.rs +++ b/compiler/rustc_lint_defs/src/lib.rs @@ -870,6 +870,7 @@ pub type LintVec = Vec<&'static Lint>; pub trait LintPass { fn name(&self) -> &'static str; + fn get_lints(&self) -> LintVec; } /// Implements `LintPass for $ty` with the given list of `Lint` statics. @@ -878,9 +879,7 @@ macro_rules! impl_lint_pass { ($ty:ty => [$($lint:expr),* $(,)?]) => { impl $crate::LintPass for $ty { fn name(&self) -> &'static str { stringify!($ty) } - } - impl $ty { - pub fn get_lints() -> $crate::LintVec { vec![$($lint),*] } + fn get_lints(&self) -> $crate::LintVec { vec![$($lint),*] } } }; } @@ -890,7 +889,18 @@ macro_rules! impl_lint_pass { #[macro_export] macro_rules! declare_lint_pass { ($(#[$m:meta])* $name:ident => [$($lint:expr),* $(,)?]) => { - $(#[$m])* #[derive(Copy, Clone)] pub struct $name; + $(#[$m])* #[derive(Copy, Clone, Default)] pub struct $name; $crate::impl_lint_pass!($name => [$($lint),*]); }; } + +#[allow(rustc::lint_pass_impl_without_macro)] +impl LintPass for Box

{ + fn name(&self) -> &'static str { + (**self).name() + } + + fn get_lints(&self) -> LintVec { + (**self).get_lints() + } +} diff --git a/compiler/rustc_middle/Cargo.toml b/compiler/rustc_middle/Cargo.toml index d1cdabc293dd8..9dab562e6ac2a 100644 --- a/compiler/rustc_middle/Cargo.toml +++ b/compiler/rustc_middle/Cargo.toml @@ -27,6 +27,7 @@ rustc_graphviz = { path = "../rustc_graphviz" } rustc_hir = { path = "../rustc_hir" } rustc_hir_pretty = { path = "../rustc_hir_pretty" } rustc_index = { path = "../rustc_index" } +rustc_lint_defs = { path = "../rustc_lint_defs" } rustc_macros = { path = "../rustc_macros" } rustc_query_system = { path = "../rustc_query_system" } rustc_serialize = { path = "../rustc_serialize" } diff --git a/compiler/rustc_middle/src/lint.rs b/compiler/rustc_middle/src/lint.rs index 086582e60a3c0..8225bb5f690aa 100644 --- a/compiler/rustc_middle/src/lint.rs +++ b/compiler/rustc_middle/src/lint.rs @@ -117,7 +117,7 @@ impl ShallowLintLevelMap { /// This lint level is not usable for diagnostics, it needs to be corrected by /// `reveal_actual_level` beforehand. #[instrument(level = "trace", skip(self, tcx), ret)] - fn probe_for_lint_level( + pub fn probe_for_lint_level( &self, tcx: TyCtxt<'_>, id: LintId, diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index c2f7a227f6661..6714f2a115aed 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -71,6 +71,7 @@ use rustc_hir::def_id::{ }; use rustc_hir::lang_items::{LangItem, LanguageItems}; use rustc_hir::{Crate, ItemLocalId, ItemLocalMap, TraitCandidate}; +use rustc_lint_defs::LintId; use rustc_index::IndexVec; use rustc_macros::rustc_queries; use rustc_query_system::ich::StableHashingContext; @@ -431,6 +432,11 @@ rustc_queries! { desc { "computing `#[expect]`ed lints in this crate" } } + query lints_that_can_emit(_: ()) -> &'tcx Vec { + arena_cache + desc { "Computing all lints that are not `[#allow]ed` / allow-by-default" } + } + query expn_that_defined(key: DefId) -> rustc_span::ExpnId { desc { |tcx| "getting the expansion that defined `{}`", tcx.def_path_str(key) } separate_provide_extern diff --git a/config.toml b/config.toml new file mode 100644 index 0000000000000..09830dfcd2bf2 --- /dev/null +++ b/config.toml @@ -0,0 +1,858 @@ +# Sample TOML configuration file for building Rust. +# +# To configure rustbuild, run `./configure` or `./x.py setup`. +# See https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#create-a-configtoml for more information. +# +# All options are commented out by default in this file, and they're commented +# out with their default values. The build system by default looks for +# `config.toml` in the current directory of a build for build configuration, but +# a custom configuration file can also be specified with `--config` to the build +# system. + +# ============================================================================= +# Global Settings +# ============================================================================= + +# Use different pre-set defaults than the global defaults. +# +# See `src/bootstrap/defaults` for more information. +# Note that this has no default value (x.py uses the defaults in `config.example.toml`). +profile = "dist" + +# Keeps track of major changes made to this configuration. +# +# This value also represents ID of the PR that caused major changes. Meaning, +# you can visit github.com/rust-lang/rust/pull/{change-id} to check for more details. +# +# A 'major change' includes any of the following +# - A new option +# - A change in the default values +# +# If `change-id` does not match the version that is currently running, +# `x.py` will prompt you to update it and check the related PR for more details. +change-id = 116881 + +# ============================================================================= +# Tweaking how LLVM is compiled +# ============================================================================= +[llvm] + +# Whether to use Rust CI built LLVM instead of locally building it. +# +# Unless you're developing for a target where Rust CI doesn't build a compiler +# toolchain or changing LLVM locally, you probably want to leave this enabled. +# +# Set this to `"if-available"` if you are not sure whether you're on a tier 1 +# target. All tier 1 targets are currently supported; +# +# We also currently only support this when building LLVM for the build triple. +# +# Set this to `"if-unchanged"` to only download if the llvm-project have not +# been modified. (If there are no changes or if built from tarball source, +# the logic is the same as "if-available") +# +# Note that many of the LLVM options are not currently supported for +# downloading. Currently only the "assertions" option can be toggled. +download-ci-llvm = true + +# Indicates whether the LLVM build is a Release or Debug build +#optimize = true + +# Indicates whether LLVM should be built with ThinLTO. Note that this will +# only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++ +# toolchain (see the `cc`, `cxx`, `linker`, `ar`, and `ranlib` options below). +# More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap +#thin-lto = false + +# Indicates whether an LLVM Release build should include debug info +#release-debuginfo = false + +# Indicates whether the LLVM assertions are enabled or not +# NOTE: When assertions are disabled, bugs in the integration between rustc and LLVM can lead to +# unsoundness (segfaults, etc.) in the rustc process itself, not just in the generated code. +#assertions = false + +# Indicates whether the LLVM testsuite is enabled in the build or not. Does +# not execute the tests as part of the build as part of x.py build et al, +# just makes it possible to do `ninja check-llvm` in the staged LLVM build +# directory when doing LLVM development as part of Rust development. +#tests = false + +# Indicates whether the LLVM plugin is enabled or not +#plugins = false + +# Indicates whether ccache is used when building LLVM. Set to `true` to use the first `ccache` in +# PATH, or set an absolute path to use a specific version. +#ccache = false + +# When true, link libstdc++ statically into the rustc_llvm. +# This is useful if you don't want to use the dynamic version of that +# library provided by LLVM. +#static-libstdcpp = false + +# Whether to use Ninja to build LLVM. This runs much faster than make. +#ninja = true + +# LLVM targets to build support for. +# Note: this is NOT related to Rust compilation targets. However, as Rust is +# dependent on LLVM for code generation, turning targets off here WILL lead to +# the resulting rustc being unable to compile for the disabled architectures. +# +# To add support for new targets, see https://rustc-dev-guide.rust-lang.org/building/new-target.html. +#targets = "AArch64;ARM;BPF;Hexagon;LoongArch;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86" + +# LLVM experimental targets to build support for. These targets are specified in +# the same format as above, but since these targets are experimental, they are +# not built by default and the experimental Rust compilation targets that depend +# on them will not work unless the user opts in to building them. +#experimental-targets = "AVR;M68k;CSKY" + +# Cap the number of parallel linker invocations when compiling LLVM. +# This can be useful when building LLVM with debug info, which significantly +# increases the size of binaries and consequently the memory required by +# each linker process. +# If set to 0, linker invocations are treated like any other job and +# controlled by rustbuild's -j parameter. +#link-jobs = 0 + +# Whether to build LLVM as a dynamically linked library (as opposed to statically linked). +# Under the hood, this passes `--shared` to llvm-config. +# NOTE: To avoid performing LTO multiple times, we suggest setting this to `true` when `thin-lto` is enabled. +#link-shared = llvm.thin-lto + +# When building llvm, this configures what is being appended to the version. +# To use LLVM version as is, provide an empty string. +#version-suffix = if rust.channel == "dev" { "-rust-dev" } else { "-rust-$version-$channel" } + +# On MSVC you can compile LLVM with clang-cl, but the test suite doesn't pass +# with clang-cl, so this is special in that it only compiles LLVM with clang-cl. +# Note that this takes a /path/to/clang-cl, not a boolean. +#clang-cl = cc + +# Pass extra compiler and linker flags to the LLVM CMake build. +#cflags = "" +#cxxflags = "" +#ldflags = "" + +# Use libc++ when building LLVM instead of libstdc++. This is the default on +# platforms already use libc++ as the default C++ library, but this option +# allows you to use libc++ even on platforms when it's not. You need to ensure +# that your host compiler ships with libc++. +#use-libcxx = false + +# The value specified here will be passed as `-DLLVM_USE_LINKER` to CMake. +#use-linker = (path) + +# Whether or not to specify `-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=YES` +#allow-old-toolchain = false + +# Whether to include the Polly optimizer. +#polly = false + +# Whether to build the clang compiler. +#clang = false + +# Whether to enable llvm compilation warnings. +#enable-warnings = false + +# Custom CMake defines to set when building LLVM. +#build-config = {} + +# ============================================================================= +# General build configuration options +# ============================================================================= +[build] + +# The default stage to use for the `check` subcommand +#check-stage = 0 + +# The default stage to use for the `doc` subcommand +#doc-stage = 0 + +# The default stage to use for the `build` subcommand +#build-stage = 1 + +# The default stage to use for the `test` subcommand +#test-stage = 1 + +# The default stage to use for the `dist` subcommand +#dist-stage = 2 + +# The default stage to use for the `install` subcommand +#install-stage = 2 + +# The default stage to use for the `bench` subcommand +#bench-stage = 2 + +# Build triple for the pre-compiled snapshot compiler. If `rustc` is set, this must match its host +# triple (see `rustc --version --verbose`; cross-compiling the rust build system itself is NOT +# supported). If `rustc` is unset, this must be a platform with pre-compiled host tools +# (https://doc.rust-lang.org/nightly/rustc/platform-support.html). The current platform must be +# able to run binaries of this build triple. +# +# If `rustc` is present in path, this defaults to the host it was compiled for. +# Otherwise, `x.py` will try to infer it from the output of `uname`. +# If `uname` is not found in PATH, we assume this is `x86_64-pc-windows-msvc`. +# This may be changed in the future. +#build = "x86_64-unknown-linux-gnu" (as an example) + +# Which triples to produce a compiler toolchain for. Each of these triples will be bootstrapped from +# the build triple themselves. In other words, this is the list of triples for which to build a +# compiler that can RUN on that triple. +# +# Defaults to just the `build` triple. +#host = [build.build] (list of triples) + +# Which triples to build libraries (core/alloc/std/test/proc_macro) for. Each of these triples will +# be bootstrapped from the build triple themselves. In other words, this is the list of triples for +# which to build a library that can CROSS-COMPILE to that triple. +# +# Defaults to `host`. If you set this explicitly, you likely want to add all +# host triples to this list as well in order for those host toolchains to be +# able to compile programs for their native target. +#target = build.host (list of triples) + +# Use this directory to store build artifacts. Paths are relative to the current directory, not to +# the root of the repository. +#build-dir = "build" + +# Instead of downloading the src/stage0.json version of Cargo specified, use +# this Cargo binary instead to build all Rust code +# If you set this, you likely want to set `rustc` as well. +#cargo = "/path/to/cargo" + +# Instead of downloading the src/stage0.json version of the compiler +# specified, use this rustc binary instead as the stage0 snapshot compiler. +# If you set this, you likely want to set `cargo` as well. +#rustc = "/path/to/rustc" + +# Instead of downloading the src/stage0.json version of rustfmt specified, +# use this rustfmt binary instead as the stage0 snapshot rustfmt. +#rustfmt = "/path/to/rustfmt" + +# Whether to build documentation by default. If false, rustdoc and +# friends will still be compiled but they will not be used to generate any +# documentation. +# +# You can still build documentation when this is disabled by explicitly passing paths, +# e.g. `x doc library`. +#docs = true + +# Flag to specify whether CSS, JavaScript, and HTML are minified when +# docs are generated. JSON is always minified, because it's enormous, +# and generated in already-minified form from the beginning. +#docs-minification = true + +# Flag to specify whether private items should be included in the library docs. +#library-docs-private-items = false + +# Indicate whether to build compiler documentation by default. +# You can still build documentation when this is disabled by explicitly passing a path: `x doc compiler`. +#compiler-docs = false + +# Indicate whether git submodules are managed and updated automatically. +#submodules = true + +# The path to (or name of) the GDB executable to use. This is only used for +# executing the debuginfo test suite. +#gdb = "gdb" + +# The node.js executable to use. Note that this is only used for the emscripten +# target when running tests, otherwise this can be omitted. +#nodejs = "node" + +# The npm executable to use. Note that this is used for rustdoc-gui tests, +# otherwise this can be omitted. +# +# Under Windows this should be `npm.cmd` or path to it (verified on nodejs v18.06), or +# error will be emitted. +#npm = "npm" + +# Python interpreter to use for various tasks throughout the build, notably +# rustdoc tests, the lldb python interpreter, and some dist bits and pieces. +# +# Defaults to the Python interpreter used to execute x.py. +#python = "python" + +# The path to the REUSE executable to use. Note that REUSE is not required in +# most cases, as our tooling relies on a cached (and shrunk) copy of the +# REUSE output present in the git repository and in our source tarballs. +# +# REUSE is only needed if your changes caused the overall licensing of the +# repository to change, and the cached copy has to be regenerated. +# +# Defaults to the "reuse" command in the system path. +#reuse = "reuse" + +# Force Cargo to check that Cargo.lock describes the precise dependency +# set that all the Cargo.toml files create, instead of updating it. +#locked-deps = false + +# Indicate whether the vendored sources are used for Rust dependencies or not. +# +# Vendoring requires additional setup. We recommend using the pre-generated source tarballs if you +# want to use vendoring. See +# https://forge.rust-lang.org/infra/other-installation-methods.html#source-code. +#vendor = false + +# Typically the build system will build the Rust compiler twice. The second +# compiler, however, will simply use its own libraries to link against. If you +# would rather to perform a full bootstrap, compiling the compiler three times, +# then you can set this option to true. +# +# This is only useful for verifying that rustc generates reproducible builds. +#full-bootstrap = false + +# Enable a build of the extended Rust tool set which is not only the compiler +# but also tools such as Cargo. This will also produce "combined installers" +# which are used to install Rust and Cargo together. +# The `tools` (check `config.example.toml` to see its default value) option specifies +# which tools should be built if `extended = true`. +# +# This is disabled by default. +#extended = false + +# Set of tools to be included in the installation. +# +# If `extended = false`, the only one of these built by default is rustdoc. +# +# If `extended = true`, they're all included, with the exception of +# rust-demangler which additionally requires `profiler = true` to be set. +# +# If any enabled tool fails to build, the installation fails. +#tools = [ +# "cargo", +# "clippy", +# "rustdoc", +# "rustfmt", +# "rust-analyzer", +# "analysis", +# "src", +# "rust-demangler", # if profiler = true +#] + +# Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose, 3 == print environment variables on each rustc invocation +#verbose = 0 + +# Build the sanitizer runtimes +#sanitizers = false + +# Build the profiler runtime (required when compiling with options that depend +# on this runtime, such as `-C profile-generate` or `-C instrument-coverage`). +#profiler = false + +# Indicates whether the native libraries linked into Cargo will be statically +# linked or not. +#cargo-native-static = false + +# Run the build with low priority, by setting the process group's "nice" value +# to +10 on Unix platforms, and by using a "low priority" job object on Windows. +#low-priority = false + +# Arguments passed to the `./configure` script, used during distcheck. You +# probably won't fill this in but rather it's filled in by the `./configure` +# script. Useful for debugging. +#configure-args = [] + +# Indicates that a local rebuild is occurring instead of a full bootstrap, +# essentially skipping stage0 as the local compiler is recompiling itself again. +# Useful for modifying only the stage2 compiler without having to pass `--keep-stage 0` each time. +#local-rebuild = false + +# Print out how long each rustbuild step took (mostly intended for CI and +# tracking over time) +#print-step-timings = false + +# Print out resource usage data for each rustbuild step, as defined by the Unix +# struct rusage. (Note that this setting is completely unstable: the data it +# captures, what platforms it supports, the format of its associated output, and +# this setting's very existence, are all subject to change.) +#print-step-rusage = false + +# Always patch binaries for usage with Nix toolchains. If `true` then binaries +# will be patched unconditionally. If `false` or unset, binaries will be patched +# only if the current distribution is NixOS. This option is useful when using +# a Nix toolchain on non-NixOS distributions. +#patch-binaries-for-nix = false + +# Collect information and statistics about the current build and writes it to +# disk. Enabling this or not has no impact on the resulting build output. The +# schema of the file generated by the build metrics feature is unstable, and +# this is not intended to be used during local development. +#metrics = false + +# Specify the location of the Android NDK. Used when targeting Android. +#android-ndk = "/path/to/android-ndk-r25b" + +# ============================================================================= +# General install configuration options +# ============================================================================= +[install] + +# Where to install the generated toolchain. Must be an absolute path. +#prefix = "/usr/local" + +# Where to install system configuration files. +# If this is a relative path, it will get installed in `prefix` above +#sysconfdir = "/etc" + +# Where to install documentation in `prefix` above +#docdir = "share/doc/rust" + +# Where to install binaries in `prefix` above +#bindir = "bin" + +# Where to install libraries in `prefix` above +#libdir = "lib" + +# Where to install man pages in `prefix` above +#mandir = "share/man" + +# Where to install data in `prefix` above +#datadir = "share" + +# ============================================================================= +# Options for compiling Rust code itself +# ============================================================================= +[rust] + +# Whether or not to optimize when compiling the compiler and standard library, +# and what level of optimization to use. +# WARNING: Building with optimize = false is NOT SUPPORTED. Due to bootstrapping, +# building without optimizations takes much longer than optimizing. Further, some platforms +# fail to build without this optimization (c.f. #65352). +# The valid options are: +# true - Enable optimizations. +# false - Disable optimizations. +# 0 - Disable optimizations. +# 1 - Basic optimizations. +# 2 - Some optimizations. +# 3 - All optimizations. +# "s" - Optimize for binary size. +# "z" - Optimize for binary size, but also turn off loop vectorization. +#optimize = true + +# Indicates that the build should be configured for debugging Rust. A +# `debug`-enabled compiler and standard library will be somewhat +# slower (due to e.g. checking of debug assertions) but should remain +# usable. +# +# Note: If this value is set to `true`, it will affect a number of +# configuration options below as well, if they have been left +# unconfigured in this file. +# +# Note: changes to the `debug` setting do *not* affect `optimize` +# above. In theory, a "maximally debuggable" environment would +# set `optimize` to `false` above to assist the introspection +# facilities of debuggers like lldb and gdb. To recreate such an +# environment, explicitly set `optimize` to `false` and `debug` +# to `true`. In practice, everyone leaves `optimize` set to +# `true`, because an unoptimized rustc with debugging +# enabled becomes *unusably slow* (e.g. rust-lang/rust#24840 +# reported a 25x slowdown) and bootstrapping the supposed +# "maximally debuggable" environment (notably libstd) takes +# hours to build. +# +#debug = false + +# Whether to download the stage 1 and 2 compilers from CI. +# This is mostly useful for tools; if you have changes to `compiler/` or `library/` they will be ignored. +# +# Set this to "if-unchanged" to only download if the compiler and standard library have not been modified. +# Set this to `true` to download unconditionally (useful if e.g. you are only changing doc-comments). +#download-rustc = false + +# Number of codegen units to use for each compiler invocation. A value of 0 +# means "the number of cores on this machine", and 1+ is passed through to the +# compiler. +# +# Uses the rustc defaults: https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units +#codegen-units = if incremental { 256 } else { 16 } + +# Sets the number of codegen units to build the standard library with, +# regardless of what the codegen-unit setting for the rest of the compiler is. +# NOTE: building with anything other than 1 is known to occasionally have bugs. +#codegen-units-std = codegen-units + +# Whether or not debug assertions are enabled for the compiler and standard library. +# These can help find bugs at the cost of a small runtime slowdown. +# +# Defaults to rust.debug value +#debug-assertions = rust.debug (boolean) + +# Whether or not debug assertions are enabled for the standard library. +# Overrides the `debug-assertions` option, if defined. +# +# Defaults to rust.debug-assertions value +#debug-assertions-std = rust.debug-assertions (boolean) + +# Whether or not to leave debug! and trace! calls in the rust binary. +# +# Defaults to rust.debug-assertions value +# +# If you see a message from `tracing` saying "some trace filter directives would enable traces that +# are disabled statically" because `max_level_info` is enabled, set this value to `true`. +#debug-logging = rust.debug-assertions (boolean) + +# Whether or not overflow checks are enabled for the compiler and standard +# library. +# +# Defaults to rust.debug value +#overflow-checks = rust.debug (boolean) + +# Whether or not overflow checks are enabled for the standard library. +# Overrides the `overflow-checks` option, if defined. +# +# Defaults to rust.overflow-checks value +#overflow-checks-std = rust.overflow-checks (boolean) + +# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`. +# `0` - no debug info +# `1` - line tables only - sufficient to generate backtraces that include line +# information and inlined functions, set breakpoints at source code +# locations, and step through execution in a debugger. +# `2` - full debug info with variable and type information +# Can be overridden for specific subsets of Rust code (rustc, std or tools). +# Debuginfo for tests run with compiletest is not controlled by this option +# and needs to be enabled separately with `debuginfo-level-tests`. +# +# Note that debuginfo-level = 2 generates several gigabytes of debuginfo +# and will slow down the linking process significantly. +#debuginfo-level = if rust.debug { 1 } else { 0 } + +# Debuginfo level for the compiler. +#debuginfo-level-rustc = rust.debuginfo-level + +# Debuginfo level for the standard library. +#debuginfo-level-std = rust.debuginfo-level + +# Debuginfo level for the tools. +#debuginfo-level-tools = rust.debuginfo-level + +# Debuginfo level for the test suites run with compiletest. +# FIXME(#61117): Some tests fail when this option is enabled. +#debuginfo-level-tests = 0 + +# Should rustc be build with split debuginfo? Default is platform dependent. +# Valid values are the same as those accepted by `-C split-debuginfo` +# (`off`/`unpacked`/`packed`). +# +# On Linux, split debuginfo is disabled by default. +# +# On Apple platforms, unpacked split debuginfo is used by default. Unpacked +# debuginfo does not run `dsymutil`, which packages debuginfo from disparate +# object files into a single `.dSYM` file. `dsymutil` adds time to builds for +# no clear benefit, and also makes it more difficult for debuggers to find +# debug info. The compiler currently defaults to running `dsymutil` to preserve +# its historical default, but when compiling the compiler itself, we skip it by +# default since we know it's safe to do so in that case. +# +# On Windows platforms, packed debuginfo is the only supported option, +# producing a `.pdb` file. +#split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked } + +# Whether or not `panic!`s generate backtraces (RUST_BACKTRACE) +#backtrace = true + +# Whether to always use incremental compilation when building rustc +#incremental = false + +# Build a multi-threaded rustc. This allows users to use parallel rustc +# via the unstable option `-Z threads=n`. +# Since stable/beta channels only allow using stable features, +# `parallel-compiler = false` should be set for these channels. +parallel-compiler = true + +# The default linker that will be hard-coded into the generated +# compiler for targets that don't specify a default linker explicitly +# in their target specifications. Note that this is not the linker +# used to link said compiler. It can also be set per-target (via the +# `[target.]` block), which may be useful in a cross-compilation +# setting. +# +# See https://doc.rust-lang.org/rustc/codegen-options/index.html#linker for more information. +#default-linker = (path) + +# The "channel" for the Rust build to produce. The stable/beta channels only +# allow using stable features, whereas the nightly and dev channels allow using +# nightly features +#channel = "dev" + +# A descriptive string to be appended to `rustc --version` output, which is +# also used in places like debuginfo `DW_AT_producer`. This may be useful for +# supplementary build information, like distro-specific package versions. +# +# The Rust compiler will differentiate between versions of itself, including +# based on this string, which means that if you wish to be compatible with +# upstream Rust you need to set this to "". However, note that if you are not +# actually compatible -- for example if you've backported patches that change +# behavior -- this may lead to miscompilations or other bugs. +#description = "" + +# The root location of the musl installation directory. The library directory +# will also need to contain libunwind.a for an unwinding implementation. Note +# that this option only makes sense for musl targets that produce statically +# linked binaries. +# +# Defaults to /usr on musl hosts. Has no default otherwise. +#musl-root = (path) + +# By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix +# platforms to ensure that the compiler is usable by default from the build +# directory (as it links to a number of dynamic libraries). This may not be +# desired in distributions, for example. +#rpath = true + +# Prints each test name as it is executed, to help debug issues in the test harness itself. +#verbose-tests = false + +# Flag indicating whether tests are compiled with optimizations (the -O flag). +#optimize-tests = true + +# Flag indicating whether codegen tests will be run or not. If you get an error +# saying that the FileCheck executable is missing, you may want to disable this. +# Also see the target's llvm-filecheck option. +#codegen-tests = true + +# Flag indicating whether git info will be retrieved from .git automatically. +# Having the git information can cause a lot of rebuilds during development. +# +# FIXME(#76720): this can causes bugs if different compilers reuse the same metadata cache. +#omit-git-hash = if rust.channel == "dev" { true } else { false } + +# Whether to create a source tarball by default when running `x dist`. +# +# You can still build a source tarball when this is disabled by explicitly passing `x dist rustc-src`. +#dist-src = true + +# After building or testing an optional component (e.g. the nomicon or reference), append the +# result (broken, compiling, testing) into this JSON file. +#save-toolstates = (path) + +# This is an array of the codegen backends that will be compiled for the rustc +# that's being compiled. The default is to only build the LLVM codegen backend, +# and currently the only standard options supported are `"llvm"`, `"cranelift"` +# and `"gcc"`. The first backend in this list will be used as default by rustc +# when no explicit backend is specified. +#codegen-backends = ["llvm"] + +# Indicates whether LLD will be compiled and made available in the sysroot for +# rustc to execute. +#lld = false + +# Indicates whether LLD will be used to link Rust crates during bootstrap on +# supported platforms. The LLD from the bootstrap distribution will be used +# and not the LLD compiled during the bootstrap. +# +# LLD will not be used if we're cross linking. +# +# Explicitly setting the linker for a target will override this option when targeting MSVC. +#use-lld = false + +# Indicates whether some LLVM tools, like llvm-objdump, will be made available in the +# sysroot. +#llvm-tools = false + +# Whether to deny warnings in crates +#deny-warnings = true + +# Print backtrace on internal compiler errors during bootstrap +#backtrace-on-ice = false + +# Whether to verify generated LLVM IR +#verify-llvm-ir = false + +# Compile the compiler with a non-default ThinLTO import limit. This import +# limit controls the maximum size of functions imported by ThinLTO. Decreasing +# will make code compile faster at the expense of lower runtime performance. +#thin-lto-import-instr-limit = if incremental { 10 } else { LLVM default (currently 100) } + +# Map debuginfo paths to `/rust/$sha/...`. +# Useful for reproducible builds. Generally only set for releases +#remap-debuginfo = false + +# Link the compiler and LLVM against `jemalloc` instead of the default libc allocator. +# This option is only tested on Linux and OSX. +#jemalloc = false + +# Run tests in various test suites with the "nll compare mode" in addition to +# running the tests in normal mode. Largely only used on CI and during local +# development of NLL +#test-compare-mode = false + +# Global default for llvm-libunwind for all targets. See the target-specific +# documentation for llvm-libunwind below. Note that the target-specific +# option will override this if set. +#llvm-libunwind = 'no' + +# Enable Windows Control Flow Guard checks in the standard library. +# This only applies from stage 1 onwards, and only for Windows targets. +#control-flow-guard = false + +# Enable symbol-mangling-version v0. This can be helpful when profiling rustc, +# as generics will be preserved in symbols (rather than erased into opaque T). +# When no setting is given, the new scheme will be used when compiling the +# compiler and its tools and the legacy scheme will be used when compiling the +# standard library. +# If an explicit setting is given, it will be used for all parts of the codebase. +#new-symbol-mangling = true|false (see comment) + +# Select LTO mode that will be used for compiling rustc. By default, thin local LTO +# (LTO within a single crate) is used (like for any Rust crate). You can also select +# "thin" or "fat" to apply Thin/Fat LTO to the `rustc_driver` dylib, or "off" to disable +# LTO entirely. +#lto = "thin-local" + +# Build compiler with the optimization enabled and -Zvalidate-mir, currently only for `std` +#validate-mir-opts = 3 + +# ============================================================================= +# Options for specific targets +# +# Each of the following options is scoped to the specific target triple in +# question and is used for determining how to compile each target. +# ============================================================================= +[target.x86_64-unknown-linux-gnu] + +# C compiler to be used to compile C code. Note that the +# default value is platform specific, and if not specified it may also depend on +# what platform is crossing to what platform. +# See `src/bootstrap/cc_detect.rs` for details. +#cc = "cc" (path) + +# C++ compiler to be used to compile C++ code (e.g. LLVM and our LLVM shims). +# This is only used for host targets. +# See `src/bootstrap/cc_detect.rs` for details. +#cxx = "c++" (path) + +# Archiver to be used to assemble static libraries compiled from C/C++ code. +# Note: an absolute path should be used, otherwise LLVM build will break. +#ar = "ar" (path) + +# Ranlib to be used to assemble static libraries compiled from C/C++ code. +# Note: an absolute path should be used, otherwise LLVM build will break. +#ranlib = "ranlib" (path) + +# Linker to be used to bootstrap Rust code. Note that the +# default value is platform specific, and if not specified it may also depend on +# what platform is crossing to what platform. +# Setting this will override the `use-lld` option for Rust code when targeting MSVC. +#linker = "cc" (path) + +# Path to the `llvm-config` binary of the installation of a custom LLVM to link +# against. Note that if this is specified we don't compile LLVM at all for this +# target. +#llvm-config = (path) + +# Override detection of whether this is a Rust-patched LLVM. This would be used +# in conjunction with either an llvm-config or build.submodules = false. +#llvm-has-rust-patches = if llvm-config { false } else { true } + +# Normally the build system can find LLVM's FileCheck utility, but if +# not, you can specify an explicit file name for it. +#llvm-filecheck = "/path/to/llvm-version/bin/FileCheck" + +# Use LLVM libunwind as the implementation for Rust's unwinder. +# Accepted values are 'in-tree' (formerly true), 'system' or 'no' (formerly false). +# This option only applies for Linux and Fuchsia targets. +# On Linux target, if crt-static is not enabled, 'no' means dynamic link to +# `libgcc_s.so`, 'in-tree' means static link to the in-tree build of llvm libunwind +# and 'system' means dynamic link to `libunwind.so`. If crt-static is enabled, +# the behavior is depend on the libc. On musl target, 'no' and 'in-tree' both +# means static link to the in-tree build of llvm libunwind, and 'system' means +# static link to `libunwind.a` provided by system. Due to the limitation of glibc, +# it must link to `libgcc_eh.a` to get a working output, and this option have no effect. +#llvm-libunwind = 'no' if Linux, 'in-tree' if Fuchsia + +# Build the sanitizer runtimes for this target. +# This option will override the same option under [build] section. +#sanitizers = build.sanitizers (bool) + +# When true, build the profiler runtime for this target (required when compiling +# with options that depend on this runtime, such as `-C profile-generate` or +# `-C instrument-coverage`). This may also be given a path to an existing build +# of the profiling runtime library from LLVM's compiler-rt. +# This option will override the same option under [build] section. +#profiler = build.profiler (bool) + +# This option supports enable `rpath` in each target independently, +# and will override the same option under [rust] section. It only works on Unix platforms +#rpath = rust.rpath (bool) + +# Force static or dynamic linkage of the standard library for this target. If +# this target is a host for rustc, this will also affect the linkage of the +# compiler itself. This is useful for building rustc on targets that normally +# only use static libraries. If unset, the target's default linkage is used. +#crt-static = (bool) + +# The root location of the musl installation directory. The library directory +# will also need to contain libunwind.a for an unwinding implementation. Note +# that this option only makes sense for musl targets that produce statically +# linked binaries. +#musl-root = build.musl-root (path) + +# The full path to the musl libdir. +#musl-libdir = musl-root/lib + +# The root location of the `wasm32-wasi` sysroot. Only used for the +# `wasm32-wasi` target. If you are building wasm32-wasi target, make sure to +# create a `[target.wasm32-wasi]` section and move this field there. +#wasi-root = (path) + +# Used in testing for configuring where the QEMU images are located, you +# probably don't want to use this. +#qemu-rootfs = (path) + +# Skip building the `std` library for this target. Enabled by default for +# target triples containing `-none`, `nvptx`, `switch`, or `-uefi`. +#no-std = (bool) + +# ============================================================================= +# Distribution options +# +# These options are related to distribution, mostly for the Rust project itself. +# You probably won't need to concern yourself with any of these options +# ============================================================================= +[dist] + +# This is the folder of artifacts that the build system will sign. All files in +# this directory will be signed with the default gpg key using the system `gpg` +# binary. The `asc` and `sha256` files will all be output into the standard dist +# output folder (currently `build/dist`) +# +# This folder should be populated ahead of time before the build system is +# invoked. +#sign-folder = (path) + +# The remote address that all artifacts will eventually be uploaded to. The +# build system generates manifests which will point to these urls, and for the +# manifests to be correct they'll have to have the right URLs encoded. +# +# Note that this address should not contain a trailing slash as file names will +# be appended to it. +#upload-addr = (URL) + +# Whether to build a plain source tarball to upload +# We disable that on Windows not to override the one already uploaded on S3 +# as the one built on Windows will contain backslashes in paths causing problems +# on linux +#src-tarball = true + +# Whether to allow failures when building tools +#missing-tools = false + +# List of compression formats to use when generating dist tarballs. The list of +# formats is provided to rust-installer, which must support all of them. +# +# This list must be non-empty. +#compression-formats = ["gz", "xz"] + +# How much time should be spent compressing the tarballs. The better the +# compression profile, the longer compression will take. +# +# Available options: fast, balanced, best +#compression-profile = "fast" + +# Copy the linker, DLLs, and various libraries from MinGW into the rustc toolchain. +# Only applies when the host or target is pc-windows-gnu. +#include-mingw-linker = true diff --git a/hi b/hi new file mode 100644 index 0000000000000..9fa8c74aa3b9d --- /dev/null +++ b/hi @@ -0,0 +1,74 @@ +Building stage0 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) +Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) +Building stage1 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) +Building tool clippy-driver (stage1 -> stage2, x86_64-unknown-linux-gnu) +Building tool rustdoc (stage0 -> stage1, x86_64-unknown-linux-gnu) +Testing clippy (stage1 -> stage2, x86_64-unknown-linux-gnu) + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +FAILED TEST: tests/ui/exit2.rs +command: CLIPPY_CONF_DIR="tests" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Dwarnings" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-15859bc70e26b2c2.rlib" "--extern=clippy_lints=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-6ae965a95ffd2e3c.rlib" "--extern=clippy_utils=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-71733ddb9ecce88a.rlib" "--extern=futures=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-71302d2ee8a2c7bf.rlib" "--extern=if_chain=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-999060082979f384.rlib" "--extern=itertools=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-550ba3cff1655c88.rlib" "--extern=parking_lot=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-6cdd429df493089b.rlib" "--extern=quote=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libquote-615cef40356d1416.rlib" "--extern=regex=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6b820ef91210afb4.rlib" "--extern=serde=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libserde-c10e61b4b82b3d45.rlib" "--extern=serde_derive=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/release/deps/libserde_derive-0ee13609fcf2aa2c.so" "--extern=syn=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-788f6a05a96fc056.rlib" "--extern=tokio=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-72251019acb0cd25.rlib" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/release/deps" "--out-dir" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/ui_test/tests/ui" "tests/ui/exit2.rs" "--edition" "2021" + +error: actual output differed from expected +Execute `cargo uibless` to update `tests/ui/exit2.stderr` to the actual output +--- tests/ui/exit2.stderr ++++ +-error: usage of `process::exit` +- --> $DIR/exit2.rs:4:5 +- | +-LL | std::process::exit(3); +- | ^^^^^^^^^^^^^^^^^^^^^ +- | +- = note: `-D clippy::exit` implied by `-D warnings` +- = help: to override `-D warnings` add `#[allow(clippy::exit)]` +- +-error: aborting due to previous error +- + + +error: `usage of `process::exit`` not found in diagnostics on line 4 + --> tests/ui/exit2.rs:5:17 + | +5 | //~^ ERROR: usage of `process::exit` + | ^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern + | + +error: ``-D clippy::exit` implied by `-D warnings`` not found in diagnostics on line 4 + --> tests/ui/exit2.rs:6:16 + | +6 | //~| NOTE: `-D clippy::exit` implied by `-D warnings` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern + | + +full stderr: + +full stdout: + + +FAILURES: + tests/ui/exit2.rs + +test result: FAIL. 1 failed; + + + +command did not execute successfully: cd "/home/queen/git/rust" && env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_TARGET_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools" CC_x86_64_unknown_linux_gnu="cc" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu" CFG_RELEASE="1.76.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_RELEASE_NUM="1.76.0" CFG_VERSION="1.76.0-dev" CFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXXFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXX_x86_64_unknown_linux_gnu="c++" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/nightly" HOST_LIBS="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/release" LD_LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" LIBC_CHECK_CFG="1" LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/ci-llvm/lib" LZMA_API_STATIC="1" RANLIB_x86_64_unknown_linux_gnu="ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/native" RUSTC="/home/queen/git/rust/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/home/queen/git/rust/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="-Zunstable-options --check-cfg=values(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_LIB_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros -Dwarnings" RUSTC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_SNAPSHOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_STAGE="1" RUSTC_SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1" RUSTC_TEST_SUITE="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="0" RUSTDOC="/home/queen/git/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=values(bootstrap) --check-cfg=values(parallel_compiler) --check-cfg=values(no_btreemap_remove_entry) --check-cfg=values(crossbeam_loom) --check-cfg=values(span_locations) --check-cfg=values(rustix_use_libc) --check-cfg=values(emulate_second_only_system) --check-cfg=values(windows_raw_dylib) -Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version 1.76.0-dev" RUSTDOC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTDOC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustdoc" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=values(bootstrap) --check-cfg=values(parallel_compiler) --check-cfg=values(no_btreemap_remove_entry) --check-cfg=values(crossbeam_loom) --check-cfg=values(span_locations) --check-cfg=values(rustix_use_libc) --check-cfg=values(emulate_second_only_system) --check-cfg=values(windows_raw_dylib) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off" RUST_TEST_THREADS="12" SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1" __CARGO_DEFAULT_LIB_METADATA="devtool-rustc" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "--release" "-Zcheck-cfg=names,values,output,features" "-Zbinary-dep-depinfo" "-j" "12" "--manifest-path" "/home/queen/git/rust/src/tools/clippy/Cargo.toml" "--" "--quiet" +expected success, got: exit status: 101 + +stdout ---- + +stderr ---- + + + diff --git a/hi.meow b/hi.meow new file mode 100644 index 0000000000000..760922ffa43fa --- /dev/null +++ b/hi.meow @@ -0,0 +1,4750 @@ +Building stage0 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) +Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) +Building stage1 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) +Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) +Uplifting library (stage1 -> stage2) +Uplifting rustc (stage1 -> stage3) +Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) +Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) +Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +FAILED TEST: tests/ui/allow_attributes_without_reason.rs +command: CLIPPY_CONF_DIR="tests" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Dwarnings" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-b1ed3dd789362462.rlib" "--extern=clippy_lints=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-f897963c197b4fc0.rlib" "--extern=clippy_utils=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-7395d1b2462287c7.rlib" "--extern=futures=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-aebcfd7dac7d3088.rlib" "--extern=if_chain=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-a78fd0c1acb6f3f1.rlib" "--extern=parking_lot=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-b45c0e6b775a7a8a.rlib" "--extern=quote=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-3f04d1a699650dc6.rlib" "--extern=regex=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-065caefeebfe2dba.rlib" "--extern=serde=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-7d9e216c92f863c1.rlib" "--extern=serde_derive=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5830cc74715e108e.so" "--extern=syn=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-08d9a4cb2c4a6f09.rlib" "--extern=tokio=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-0ed43d7488ec58ff.rlib" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/allow_attributes_without_reason.rs" "--edition" "2021" "--extern" "proc_macros=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary/libproc_macros.so" "-L" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary" + +error: actual output differed from expected +Execute `cargo uibless` to update `tests/ui/allow_attributes_without_reason.stderr` to the actual output +--- tests/ui/allow_attributes_without_reason.stderr ++++ ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true + error: `allow` attribute without specifying a reason + --> $DIR/allow_attributes_without_reason.rs:4:1 +... 35 lines skipped ... + error: aborting due to 4 previous errors + + + +full stderr: +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +error: `allow` attribute without specifying a reason + --> tests/ui/allow_attributes_without_reason.rs:4:1 + | +LL | #![allow(unfulfilled_lint_expectations)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = help: try adding a reason at the end with `, reason = ".."` +note: the lint level is defined here + --> tests/ui/allow_attributes_without_reason.rs:3:9 + | +LL | #![deny(clippy::allow_attributes_without_reason)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +error: `allow` attribute without specifying a reason + --> tests/ui/allow_attributes_without_reason.rs:10:1 + | +LL | #[allow(dead_code)] + | ^^^^^^^^^^^^^^^^^^^ + | + = help: try adding a reason at the end with `, reason = ".."` + +error: `allow` attribute without specifying a reason + --> tests/ui/allow_attributes_without_reason.rs:11:1 + | +LL | #[allow(dead_code, deprecated)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = help: try adding a reason at the end with `, reason = ".."` + +error: `expect` attribute without specifying a reason + --> tests/ui/allow_attributes_without_reason.rs:12:1 + | +LL | #[expect(dead_code)] + | ^^^^^^^^^^^^^^^^^^^^ + | + = help: try adding a reason at the end with `, reason = ".."` + +error: aborting due to 4 previous errors + + +full stdout: + + + +FAILED TEST: tests/ui/allow_attributes.rs +command: CLIPPY_CONF_DIR="tests" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Dwarnings" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-b1ed3dd789362462.rlib" "--extern=clippy_lints=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-f897963c197b4fc0.rlib" "--extern=clippy_utils=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-7395d1b2462287c7.rlib" "--extern=futures=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-aebcfd7dac7d3088.rlib" "--extern=if_chain=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-a78fd0c1acb6f3f1.rlib" "--extern=parking_lot=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-b45c0e6b775a7a8a.rlib" "--extern=quote=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-3f04d1a699650dc6.rlib" "--extern=regex=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-065caefeebfe2dba.rlib" "--extern=serde=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-7d9e216c92f863c1.rlib" "--extern=serde_derive=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5830cc74715e108e.so" "--extern=syn=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-08d9a4cb2c4a6f09.rlib" "--extern=tokio=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-0ed43d7488ec58ff.rlib" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--crate-type=lib" "--out-dir" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/allow_attributes.rs" "--edition" "2021" "--extern" "proc_macros=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary/libproc_macros.so" "-L" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary" + +error: actual output differed from expected +Execute `cargo uibless` to update `tests/ui/allow_attributes.stderr` to the actual output +--- tests/ui/allow_attributes.stderr ++++ ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = false ++[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" ++[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| ++ hashmap.contains(&LintId::of(lint))) = true + error: #[allow] attribute found + --> $DIR/allow_attributes.rs:13:3 +... 13 lines skipped ... + error: aborting due to 2 previous errors + + + +full stderr: +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = false +[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" +[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| + hashmap.contains(&LintId::of(lint))) = true +error: #[allow] attribute found + --> tests/ui/allow_attributes.rs:13:3 + | +LL | #[allow(dead_code)] + | ^^^^^ help: replace it with: `expect` + | + = note: `-D clippy::allow-attributes` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::allow_attributes)]` + +error: #[allow] attribute found + --> tests/ui/allow_attributes.rs:22:30 + | +LL | #[cfg_attr(panic = "unwind", allow(dead_code))] + | ^^^^^ help: replace it with: `expect` + +error: aborting due to 2 previous errors + + +full stdout: + + +FAILURES: + tests/ui/allow_attributes_without_reason.rs + tests/ui/allow_attributes.rs + +test result: FAIL. 2 failed; + + + +command did not execute successfully: cd "/home/queen/git/rust" && env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools" CC_x86_64_unknown_linux_gnu="cc" CFG_COMPILER_BUILD_TRIPLE="x86_64-unknown-linux-gnu" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu" CFG_RELEASE="1.77.0-nightly" CFG_RELEASE_CHANNEL="nightly" CFG_RELEASE_NUM="1.77.0" CFG_VERSION="1.77.0-nightly (777955320 2024-01-26)" CFG_VER_DATE="2024-01-26" CFG_VER_HASH="777955320e5c4b0ad4b694854fdcae5c031505e2" CFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXXFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXX_x86_64_unknown_linux_gnu="c++" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/nightly" HOST_LIBS="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release" LD_LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" LIBC_CHECK_CFG="1" LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/ci-llvm/lib" LZMA_API_STATIC="1" RANLIB_x86_64_unknown_linux_gnu="ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/native" RUSTC="/home/queen/git/rust/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/home/queen/git/rust/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="-Zunstable-options --check-cfg=cfg(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTC_LIB_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Dwarnings" RUSTC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_SNAPSHOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTC_STAGE="2" RUSTC_SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2" RUSTC_TEST_SUITE="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="0" RUSTC_WRAPPER="/home/queen/git/rust/build/bootstrap/debug/rustc" RUSTDOC="/home/queen/git/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(parallel_compiler) --check-cfg=cfg(rust_analyzer) --check-cfg=cfg(no_btreemap_remove_entry) --check-cfg=cfg(crossbeam_loom) --check-cfg=cfg(span_locations) --check-cfg=cfg(rustix_use_libc) --check-cfg=cfg(emulate_second_only_system) --check-cfg=cfg(windows_raw_dylib) -Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version 1.77.0-nightly\t(777955320\t2024-01-26)" RUSTDOC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTDOC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(parallel_compiler) --check-cfg=cfg(rust_analyzer) --check-cfg=cfg(no_btreemap_remove_entry) --check-cfg=cfg(crossbeam_loom) --check-cfg=cfg(span_locations) --check-cfg=cfg(rustix_use_libc) --check-cfg=cfg(emulate_second_only_system) --check-cfg=cfg(windows_raw_dylib) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off -Zunstable-options" RUST_TEST_THREADS="12" SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2" __CARGO_DEFAULT_LIB_METADATA="nightlytool-rustc" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "--release" "-Zcheck-cfg" "-Zbinary-dep-depinfo" "-j" "12" "--manifest-path" "/home/queen/git/rust/src/tools/clippy/Cargo.toml" "--" "--quiet" +expected success, got: exit status: 101 + +stdout ---- + +stderr ---- + + + diff --git a/src/librustdoc/lint.rs b/src/librustdoc/lint.rs index dd2bb47e5926b..fe740ceb42664 100644 --- a/src/librustdoc/lint.rs +++ b/src/librustdoc/lint.rs @@ -1,6 +1,6 @@ use rustc_data_structures::fx::FxHashMap; use rustc_lint::LintStore; -use rustc_lint_defs::{declare_tool_lint, Lint, LintId}; +use rustc_lint_defs::{declare_tool_lint, Lint, LintId, LintPass}; use rustc_session::{lint, Session}; use std::sync::LazyLock as Lazy; @@ -31,9 +31,10 @@ where allowed_lints.extend(lint_opts.iter().map(|(lint, _)| lint).cloned()); let lints = || { - lint::builtin::HardwiredLints::get_lints() + lint::builtin::HardwiredLints::default() + .get_lints() .into_iter() - .chain(rustc_lint::SoftLints::get_lints()) + .chain(rustc_lint::SoftLints::default().get_lints()) }; let lint_opts = lints() diff --git a/src/tools/clippy/clippy_lints/src/asm_syntax.rs b/src/tools/clippy/clippy_lints/src/asm_syntax.rs index 7c88bfc97ca49..f096638add565 100644 --- a/src/tools/clippy/clippy_lints/src/asm_syntax.rs +++ b/src/tools/clippy/clippy_lints/src/asm_syntax.rs @@ -3,7 +3,7 @@ use std::fmt; use clippy_utils::diagnostics::span_lint_and_help; use rustc_ast::ast::{Expr, ExprKind, InlineAsmOptions}; use rustc_ast::{InlineAsm, Item, ItemKind}; -use rustc_lint::{EarlyContext, EarlyLintPass, Lint, LintContext}; +use rustc_lint::{EarlyContext, EarlyLintPass, Lint, LintPass, LintContext}; use rustc_session::declare_lint_pass; use rustc_span::Span; use rustc_target::asm::InlineAsmArch; @@ -99,13 +99,13 @@ declare_lint_pass!(InlineAsmX86IntelSyntax => [INLINE_ASM_X86_INTEL_SYNTAX]); impl EarlyLintPass for InlineAsmX86IntelSyntax { fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { if let ExprKind::InlineAsm(inline_asm) = &expr.kind { - check_asm_syntax(Self::get_lints()[0], cx, inline_asm, expr.span, AsmStyle::Intel); + check_asm_syntax(Self::default().get_lints()[0], cx, inline_asm, expr.span, AsmStyle::Intel); } } fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { if let ItemKind::GlobalAsm(inline_asm) = &item.kind { - check_asm_syntax(Self::get_lints()[0], cx, inline_asm, item.span, AsmStyle::Intel); + check_asm_syntax(Self::default().get_lints()[0], cx, inline_asm, item.span, AsmStyle::Intel); } } } @@ -148,13 +148,13 @@ declare_lint_pass!(InlineAsmX86AttSyntax => [INLINE_ASM_X86_ATT_SYNTAX]); impl EarlyLintPass for InlineAsmX86AttSyntax { fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { if let ExprKind::InlineAsm(inline_asm) = &expr.kind { - check_asm_syntax(Self::get_lints()[0], cx, inline_asm, expr.span, AsmStyle::Att); + check_asm_syntax(Self::default().get_lints()[0], cx, inline_asm, expr.span, AsmStyle::Att); } } fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { if let ItemKind::GlobalAsm(inline_asm) = &item.kind { - check_asm_syntax(Self::get_lints()[0], cx, inline_asm, item.span, AsmStyle::Att); + check_asm_syntax(Self::default().get_lints()[0], cx, inline_asm, item.span, AsmStyle::Att); } } } diff --git a/src/tools/clippy/tests/ui/string_slice.rs b/src/tools/clippy/tests/ui/string_slice.rs index 440a86b104a3d..cf35561b2421b 100644 --- a/src/tools/clippy/tests/ui/string_slice.rs +++ b/src/tools/clippy/tests/ui/string_slice.rs @@ -1,4 +1,4 @@ -#[warn(clippy::string_slice)] +#![warn(clippy::string_slice)] #[allow(clippy::no_effect)] fn main() { From ab8f98e5d9b124b2619aa1977e5f71e5840cc7ab Mon Sep 17 00:00:00 2001 From: blyxyas Date: Mon, 29 Apr 2024 00:29:22 +0200 Subject: [PATCH 02/14] Polish --- compiler/rustc_lint/src/late.rs | 10 ++++------ compiler/rustc_lint/src/levels.rs | 10 +--------- compiler/rustc_lint/src/lib.rs | 3 --- 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index 35f842afc3c29..8331190d983d2 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -433,12 +433,10 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { LintPass::get_lints(pass).iter().any(|&lint| hashmap.contains(&LintId::of(lint))) }).collect(); - // let mut passes: Vec>> = passes - // .into_iter() - // .filter(|pass| { - // LintPass::get_lints(pass).iter().any(|&lint| ) - // }) - // .collect(); + // filtered_passes may be empty in case of `#[allow(all)]` + if filtered_passes.is_empty() { + return; + } let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; late_lint_crate_inner(tcx, context, pass); diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index ac99779f24010..720a199f61be3 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -162,19 +162,11 @@ pub fn lints_that_can_emit( ) -> Vec { let store = unerased_lint_store(&tcx.sess); - // let mut builder = LintLevelsBuilder { - // sess: tcx.sess, - // features: tcx.features(), - // provider: - // warn_about_weird_lints: false, - // store, - // registered_tools: &tcx.registered_tools(()), - // }; let specs = tcx.shallow_lint_levels_on(hir::CRATE_HIR_ID.owner); let lints = store.get_lints(); let mut hashmap: Vec = Vec::new(); - hashmap.reserve((lints.len() >> 1) * usize::from(tcx.sess.opts.lint_cap.is_some())); // Avoid allocations, it's better to + hashmap.reserve((lints.len() >> 1) * usize::from(tcx.sess.opts.lint_cap.is_some())); // Avoid allocations for &lint in lints { let lint_id = LintId::of(lint); diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index e17d50d873bcb..c1826b362c3f3 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -137,9 +137,6 @@ pub fn provide(providers: &mut Providers) { } fn lint_mod(tcx: TyCtxt<'_>, module_def_id: LocalModDefId) { - if let Some(lint_cap) = tcx.sess.opts.lint_cap && lint_cap == Level::Allow { - return; - } late_lint_mod(tcx, module_def_id, BuiltinCombinedModuleLateLintPass::new()); } From d5ef3a7d0d9dd1b8fea1e3115130aad74fb08ff2 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Wed, 8 May 2024 21:19:24 +0200 Subject: [PATCH 03/14] marramiau miau miau :tada: --- compiler/rustc_lint/src/builtin.rs | 2 +- compiler/rustc_lint/src/late.rs | 89 +++++++++++++----- compiler/rustc_lint/src/levels.rs | 121 +++++++++++++++++++------ compiler/rustc_middle/src/query/mod.rs | 5 +- 4 files changed, 166 insertions(+), 51 deletions(-) diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs index f637428cb8147..4e5c393c286fb 100644 --- a/compiler/rustc_lint/src/builtin.rs +++ b/compiler/rustc_lint/src/builtin.rs @@ -73,8 +73,8 @@ use rustc_trait_selection::traits::{self, misc::type_allowed_to_implement_copy}; use crate::nonstandard_style::{method_context, MethodLateContext}; -use std::fmt::Write; use std::default::Default; +use std::fmt::Write; // hardwired lints from rustc_lint_defs pub use rustc_session::lint::builtin::*; diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index 8331190d983d2..736762adc3df5 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -14,7 +14,7 @@ //! upon. As the ast is traversed, this keeps track of the current lint level //! for all lint attributes. -use crate::{passes::LateLintPassObject, LateContext, LateLintPass, LintStore, LintId}; +use crate::{passes::LateLintPassObject, LateContext, LateLintPass, LintStore}; use rustc_data_structures::stack::ensure_sufficient_stack; use rustc_data_structures::sync::{join, Lrc}; use rustc_hir as hir; @@ -25,7 +25,7 @@ use rustc_middle::hir::nested_filter; use rustc_middle::ty::{self, TyCtxt}; use rustc_session::lint::LintPass; use rustc_session::Session; -use rustc_span::Span; +use rustc_span::{Span, Symbol}; use std::any::Any; use std::cell::Cell; @@ -363,21 +363,43 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>( // Note: `passes` is often empty. In that case, it's faster to run // `builtin_lints` directly rather than bundling it up into the // `RuntimeCombinedLateLintPass`. -let store = unerased_lint_store(tcx.sess); - - if store.late_module_passes.is_empty() { - late_lint_mod_inner(tcx, module_def_id, context, builtin_lints); - } else { - let passes: Vec<_> = store - .late_module_passes - .iter() - .map(|mk_pass| (mk_pass)(tcx)) + let store = unerased_lint_store(tcx.sess); + + if store.late_module_passes.is_empty() { + late_lint_mod_inner(tcx, module_def_id, context, builtin_lints); + } else { + let passes: Vec<_> = + store.late_module_passes.iter().map(|mk_pass| (mk_pass)(tcx)).collect(); + + // Filter unused lints + let (lints_to_emit, lints_allowed) = &**tcx.lints_that_can_emit(()); + // let lints_to_emit = &lints_that_can_emit.0; + // let lints_allowed = &lints_that_can_emit.1; + let passes_lints: Vec<_> = passes.iter().map(|pass| LintPass::get_lints(pass)).collect(); + + // Now, we'll filtered passes in a way that discards any lint that + let mut filtered_passes: Vec>> = passes + .into_iter() + .enumerate() + .filter_map(|(i, pass)| { + if passes_lints[i].iter().any(|&lint| { + let symbol = Symbol::intern(lint.name); + // ^^^ Expensive, but more expensive would be having to + // cast every element to &str + + lints_to_emit.contains(&symbol) + || (!lints_allowed.contains(&symbol) + && lint.default_level > crate::Level::Allow) + }) { + Some(pass) + } else { + None + } + }) .collect(); - let emittable_lints = tcx.lints_that_can_emit(()); - let mut filtered_passes: Vec>> = passes.into_iter().filter(|pass| { - LintPass::get_lints(pass).iter().any(|&lint| emittable_lints.contains(&LintId::of(lint))) - }).collect(); - filtered_passes.push(Box::new(builtin_lints)); + + filtered_passes.push(Box::new(builtin_lints)); + let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; late_lint_mod_inner(tcx, module_def_id, context, pass); } @@ -427,11 +449,36 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { only_module: false, }; - let hashmap = tcx.lints_that_can_emit(()); - - let mut filtered_passes: Vec>> = passes.into_iter().filter(|pass| { - LintPass::get_lints(pass).iter().any(|&lint| hashmap.contains(&LintId::of(lint))) - }).collect(); + let (lints_to_emit, lints_allowed) = &**tcx.lints_that_can_emit(()); + // let lints_to_emit = &lints_that_can_emit.0; + // let lints_allowed = &lints_that_can_emit.1; + let passes_lints: Vec<_> = passes.iter().map(|pass| LintPass::get_lints(pass)).collect(); + + // Now, we'll filtered passes in a way that discards any lint that + let mut filtered_passes: Vec>> = passes + .into_iter() + .enumerate() + .filter_map(|(i, pass)| { + if passes_lints[i].iter().any(|&lint| { + let symbol = Symbol::intern( + &lint.name.to_lowercase() + // Doing some calculations here to account for those separators + [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..], + ); + + // ^^^ Expensive, but more expensive would be having to + // cast every element to &str + + lints_to_emit.contains(&symbol) + || (!lints_allowed.contains(&symbol) + && lint.default_level > crate::Level::Allow) + }) { + Some(pass) + } else { + None + } + }) + .collect(); // filtered_passes may be empty in case of `#[allow(all)]` if filtered_passes.is_empty() { diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 720a199f61be3..7ef4216487c08 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -15,7 +15,7 @@ use crate::{ }; use rustc_ast as ast; use rustc_ast_pretty::pprust; -use rustc_data_structures::fx::FxIndexMap; +use rustc_data_structures::{fx::FxIndexMap, sync::Lrc}; use rustc_errors::{Diag, DiagMessage, LintDiagnostic, MultiSpan}; use rustc_feature::{Features, GateIssue}; use rustc_hir as hir; @@ -153,30 +153,18 @@ fn lint_expectations(tcx: TyCtxt<'_>, (): ()) -> Vec<(LintExpectationId, LintExp /// Walk the whole crate collecting nodes where lint levels change /// (e.g. `#[allow]` attributes), and joins that list with the warn-by-default -/// (and not allowed in the crate) and CLI lints. The final result is a builder -/// that has information about just lints that can be emitted (leaving out -/// globally-allowed lints) -pub fn lints_that_can_emit( - tcx: TyCtxt<'_>, - (): () -) -> Vec { - let store = unerased_lint_store(&tcx.sess); - - let specs = tcx.shallow_lint_levels_on(hir::CRATE_HIR_ID.owner); - let lints = store.get_lints(); - - let mut hashmap: Vec = Vec::new(); - hashmap.reserve((lints.len() >> 1) * usize::from(tcx.sess.opts.lint_cap.is_some())); // Avoid allocations - - for &lint in lints { - let lint_id = LintId::of(lint); - let actual_level = specs.probe_for_lint_level(tcx, lint_id, hir::CRATE_HIR_ID).0.unwrap_or(lint.default_level); - if actual_level > Level::Allow { - hashmap.push(lint_id); - } - } - - hashmap +/// (and not allowed in the crate) and CLI lints. The returned value is a tuple +/// of 1. The lints that will emit (or at least, should run), and 2. +/// The lints that are allowed at the crate level and will not emit. +pub fn lints_that_can_emit(tcx: TyCtxt<'_>, (): ()) -> Lrc<(Vec, Vec)> { + // builder.add_command_line(); + // builder.add_id(hir::CRATE_HIR_ID); + + let mut visitor = LintLevelMinimumVisitor::new(tcx); + visitor.process_opts(); + tcx.hir().walk_attributes(&mut visitor); + + Lrc::new((visitor.lints_to_emit, visitor.lints_allowed)) } #[instrument(level = "trace", skip(tcx), ret)] @@ -478,6 +466,86 @@ impl<'tcx> Visitor<'tcx> for LintLevelsBuilder<'_, QueryMapExpectationsWrapper<' } } +/// Visitor with the only function of visiting every item-like in a crate and +/// computing the highest level that every lint gets put to. +/// +/// E.g., if a crate has a global #![allow(lint)] attribute, but a single item +/// uses #[warn(lint)], this visitor will set that lint level as `Warn` +struct LintLevelMinimumVisitor<'tcx> { + tcx: TyCtxt<'tcx>, + /// The actual list of detected lints. + lints_to_emit: Vec, + lints_allowed: Vec, +} + +impl<'tcx> LintLevelMinimumVisitor<'tcx> { + pub fn new(tcx: TyCtxt<'tcx>) -> Self { + Self { + tcx, + // That magic number is the current number of lints + some more for possible future lints + lints_to_emit: Vec::with_capacity(230), + lints_allowed: Vec::with_capacity(100), + } + } + + fn process_opts(&mut self) { + for (lint, level) in &self.tcx.sess.opts.lint_opts { + if *level == Level::Allow { + self.lints_allowed.push(Symbol::intern(&lint)); + } else { + self.lints_to_emit.push(Symbol::intern(&lint)); + } + } + } +} + +impl<'tcx> Visitor<'tcx> for LintLevelMinimumVisitor<'tcx> { + type NestedFilter = nested_filter::All; + + fn nested_visit_map(&mut self) -> Self::Map { + self.tcx.hir() + } + + fn visit_attribute(&mut self, attribute: &'tcx ast::Attribute) { + if let Some(meta) = attribute.meta() { + if [sym::warn, sym::deny, sym::forbid, sym::expect] + .iter() + .any(|kind| meta.has_name(*kind)) + { + // SAFETY: Lint attributes are always a metalist inside a + // metalist (even with just one lint). + for meta_list in meta.meta_item_list().unwrap() { + // If it's a tool lint (e.g. clippy::my_clippy_lint) + if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { + if meta_item.path.segments.len() == 1 { + self.lints_to_emit.push( + // SAFETY: Lint attributes can only have literals + meta_list.ident().unwrap().name, + ); + } else { + self.lints_to_emit.push(meta_item.path.segments[1].ident.name); + } + } + } + // We handle #![allow]s differently, as these remove checking rather than adding. + } else if meta.has_name(sym::allow) + && let ast::AttrStyle::Inner = attribute.style + { + for meta_list in meta.meta_item_list().unwrap() { + // If it's a tool lint (e.g. clippy::my_clippy_lint) + if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { + if meta_item.path.segments.len() == 1 { + self.lints_allowed.push(meta_list.name_or_empty()) + } else { + self.lints_allowed.push(meta_item.path.segments[1].ident.name); + } + } + } + } + } + } +} + pub struct LintLevelsBuilder<'s, P> { sess: &'s Session, features: &'s Features, @@ -1161,7 +1229,8 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> { } pub(crate) fn provide(providers: &mut Providers) { - *providers = Providers { shallow_lint_levels_on, lint_expectations, lints_that_can_emit, ..*providers }; + *providers = + Providers { shallow_lint_levels_on, lint_expectations, lints_that_can_emit, ..*providers }; } pub fn parse_lint_and_tool_name(lint_name: &str) -> (Option, &str) { diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 6714f2a115aed..2d0c213f96944 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -71,7 +71,6 @@ use rustc_hir::def_id::{ }; use rustc_hir::lang_items::{LangItem, LanguageItems}; use rustc_hir::{Crate, ItemLocalId, ItemLocalMap, TraitCandidate}; -use rustc_lint_defs::LintId; use rustc_index::IndexVec; use rustc_macros::rustc_queries; use rustc_query_system::ich::StableHashingContext; @@ -432,9 +431,9 @@ rustc_queries! { desc { "computing `#[expect]`ed lints in this crate" } } - query lints_that_can_emit(_: ()) -> &'tcx Vec { + query lints_that_can_emit(_: ()) -> &'tcx Lrc<(Vec, Vec)> { arena_cache - desc { "Computing all lints that are not `[#allow]ed` / allow-by-default" } + desc { "Computing all lints that are explicitly enabled or with a default level great than Allow" } } query expn_that_defined(key: DefId) -> rustc_span::ExpnId { From 201afe37bdf56a3513c7f3b7f8808d82d4111367 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Wed, 8 May 2024 21:22:07 +0200 Subject: [PATCH 04/14] meowmeowmeow --- config.toml | 858 ---------------------------------------------------- 1 file changed, 858 deletions(-) delete mode 100644 config.toml diff --git a/config.toml b/config.toml deleted file mode 100644 index 09830dfcd2bf2..0000000000000 --- a/config.toml +++ /dev/null @@ -1,858 +0,0 @@ -# Sample TOML configuration file for building Rust. -# -# To configure rustbuild, run `./configure` or `./x.py setup`. -# See https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#create-a-configtoml for more information. -# -# All options are commented out by default in this file, and they're commented -# out with their default values. The build system by default looks for -# `config.toml` in the current directory of a build for build configuration, but -# a custom configuration file can also be specified with `--config` to the build -# system. - -# ============================================================================= -# Global Settings -# ============================================================================= - -# Use different pre-set defaults than the global defaults. -# -# See `src/bootstrap/defaults` for more information. -# Note that this has no default value (x.py uses the defaults in `config.example.toml`). -profile = "dist" - -# Keeps track of major changes made to this configuration. -# -# This value also represents ID of the PR that caused major changes. Meaning, -# you can visit github.com/rust-lang/rust/pull/{change-id} to check for more details. -# -# A 'major change' includes any of the following -# - A new option -# - A change in the default values -# -# If `change-id` does not match the version that is currently running, -# `x.py` will prompt you to update it and check the related PR for more details. -change-id = 116881 - -# ============================================================================= -# Tweaking how LLVM is compiled -# ============================================================================= -[llvm] - -# Whether to use Rust CI built LLVM instead of locally building it. -# -# Unless you're developing for a target where Rust CI doesn't build a compiler -# toolchain or changing LLVM locally, you probably want to leave this enabled. -# -# Set this to `"if-available"` if you are not sure whether you're on a tier 1 -# target. All tier 1 targets are currently supported; -# -# We also currently only support this when building LLVM for the build triple. -# -# Set this to `"if-unchanged"` to only download if the llvm-project have not -# been modified. (If there are no changes or if built from tarball source, -# the logic is the same as "if-available") -# -# Note that many of the LLVM options are not currently supported for -# downloading. Currently only the "assertions" option can be toggled. -download-ci-llvm = true - -# Indicates whether the LLVM build is a Release or Debug build -#optimize = true - -# Indicates whether LLVM should be built with ThinLTO. Note that this will -# only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++ -# toolchain (see the `cc`, `cxx`, `linker`, `ar`, and `ranlib` options below). -# More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap -#thin-lto = false - -# Indicates whether an LLVM Release build should include debug info -#release-debuginfo = false - -# Indicates whether the LLVM assertions are enabled or not -# NOTE: When assertions are disabled, bugs in the integration between rustc and LLVM can lead to -# unsoundness (segfaults, etc.) in the rustc process itself, not just in the generated code. -#assertions = false - -# Indicates whether the LLVM testsuite is enabled in the build or not. Does -# not execute the tests as part of the build as part of x.py build et al, -# just makes it possible to do `ninja check-llvm` in the staged LLVM build -# directory when doing LLVM development as part of Rust development. -#tests = false - -# Indicates whether the LLVM plugin is enabled or not -#plugins = false - -# Indicates whether ccache is used when building LLVM. Set to `true` to use the first `ccache` in -# PATH, or set an absolute path to use a specific version. -#ccache = false - -# When true, link libstdc++ statically into the rustc_llvm. -# This is useful if you don't want to use the dynamic version of that -# library provided by LLVM. -#static-libstdcpp = false - -# Whether to use Ninja to build LLVM. This runs much faster than make. -#ninja = true - -# LLVM targets to build support for. -# Note: this is NOT related to Rust compilation targets. However, as Rust is -# dependent on LLVM for code generation, turning targets off here WILL lead to -# the resulting rustc being unable to compile for the disabled architectures. -# -# To add support for new targets, see https://rustc-dev-guide.rust-lang.org/building/new-target.html. -#targets = "AArch64;ARM;BPF;Hexagon;LoongArch;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86" - -# LLVM experimental targets to build support for. These targets are specified in -# the same format as above, but since these targets are experimental, they are -# not built by default and the experimental Rust compilation targets that depend -# on them will not work unless the user opts in to building them. -#experimental-targets = "AVR;M68k;CSKY" - -# Cap the number of parallel linker invocations when compiling LLVM. -# This can be useful when building LLVM with debug info, which significantly -# increases the size of binaries and consequently the memory required by -# each linker process. -# If set to 0, linker invocations are treated like any other job and -# controlled by rustbuild's -j parameter. -#link-jobs = 0 - -# Whether to build LLVM as a dynamically linked library (as opposed to statically linked). -# Under the hood, this passes `--shared` to llvm-config. -# NOTE: To avoid performing LTO multiple times, we suggest setting this to `true` when `thin-lto` is enabled. -#link-shared = llvm.thin-lto - -# When building llvm, this configures what is being appended to the version. -# To use LLVM version as is, provide an empty string. -#version-suffix = if rust.channel == "dev" { "-rust-dev" } else { "-rust-$version-$channel" } - -# On MSVC you can compile LLVM with clang-cl, but the test suite doesn't pass -# with clang-cl, so this is special in that it only compiles LLVM with clang-cl. -# Note that this takes a /path/to/clang-cl, not a boolean. -#clang-cl = cc - -# Pass extra compiler and linker flags to the LLVM CMake build. -#cflags = "" -#cxxflags = "" -#ldflags = "" - -# Use libc++ when building LLVM instead of libstdc++. This is the default on -# platforms already use libc++ as the default C++ library, but this option -# allows you to use libc++ even on platforms when it's not. You need to ensure -# that your host compiler ships with libc++. -#use-libcxx = false - -# The value specified here will be passed as `-DLLVM_USE_LINKER` to CMake. -#use-linker = (path) - -# Whether or not to specify `-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=YES` -#allow-old-toolchain = false - -# Whether to include the Polly optimizer. -#polly = false - -# Whether to build the clang compiler. -#clang = false - -# Whether to enable llvm compilation warnings. -#enable-warnings = false - -# Custom CMake defines to set when building LLVM. -#build-config = {} - -# ============================================================================= -# General build configuration options -# ============================================================================= -[build] - -# The default stage to use for the `check` subcommand -#check-stage = 0 - -# The default stage to use for the `doc` subcommand -#doc-stage = 0 - -# The default stage to use for the `build` subcommand -#build-stage = 1 - -# The default stage to use for the `test` subcommand -#test-stage = 1 - -# The default stage to use for the `dist` subcommand -#dist-stage = 2 - -# The default stage to use for the `install` subcommand -#install-stage = 2 - -# The default stage to use for the `bench` subcommand -#bench-stage = 2 - -# Build triple for the pre-compiled snapshot compiler. If `rustc` is set, this must match its host -# triple (see `rustc --version --verbose`; cross-compiling the rust build system itself is NOT -# supported). If `rustc` is unset, this must be a platform with pre-compiled host tools -# (https://doc.rust-lang.org/nightly/rustc/platform-support.html). The current platform must be -# able to run binaries of this build triple. -# -# If `rustc` is present in path, this defaults to the host it was compiled for. -# Otherwise, `x.py` will try to infer it from the output of `uname`. -# If `uname` is not found in PATH, we assume this is `x86_64-pc-windows-msvc`. -# This may be changed in the future. -#build = "x86_64-unknown-linux-gnu" (as an example) - -# Which triples to produce a compiler toolchain for. Each of these triples will be bootstrapped from -# the build triple themselves. In other words, this is the list of triples for which to build a -# compiler that can RUN on that triple. -# -# Defaults to just the `build` triple. -#host = [build.build] (list of triples) - -# Which triples to build libraries (core/alloc/std/test/proc_macro) for. Each of these triples will -# be bootstrapped from the build triple themselves. In other words, this is the list of triples for -# which to build a library that can CROSS-COMPILE to that triple. -# -# Defaults to `host`. If you set this explicitly, you likely want to add all -# host triples to this list as well in order for those host toolchains to be -# able to compile programs for their native target. -#target = build.host (list of triples) - -# Use this directory to store build artifacts. Paths are relative to the current directory, not to -# the root of the repository. -#build-dir = "build" - -# Instead of downloading the src/stage0.json version of Cargo specified, use -# this Cargo binary instead to build all Rust code -# If you set this, you likely want to set `rustc` as well. -#cargo = "/path/to/cargo" - -# Instead of downloading the src/stage0.json version of the compiler -# specified, use this rustc binary instead as the stage0 snapshot compiler. -# If you set this, you likely want to set `cargo` as well. -#rustc = "/path/to/rustc" - -# Instead of downloading the src/stage0.json version of rustfmt specified, -# use this rustfmt binary instead as the stage0 snapshot rustfmt. -#rustfmt = "/path/to/rustfmt" - -# Whether to build documentation by default. If false, rustdoc and -# friends will still be compiled but they will not be used to generate any -# documentation. -# -# You can still build documentation when this is disabled by explicitly passing paths, -# e.g. `x doc library`. -#docs = true - -# Flag to specify whether CSS, JavaScript, and HTML are minified when -# docs are generated. JSON is always minified, because it's enormous, -# and generated in already-minified form from the beginning. -#docs-minification = true - -# Flag to specify whether private items should be included in the library docs. -#library-docs-private-items = false - -# Indicate whether to build compiler documentation by default. -# You can still build documentation when this is disabled by explicitly passing a path: `x doc compiler`. -#compiler-docs = false - -# Indicate whether git submodules are managed and updated automatically. -#submodules = true - -# The path to (or name of) the GDB executable to use. This is only used for -# executing the debuginfo test suite. -#gdb = "gdb" - -# The node.js executable to use. Note that this is only used for the emscripten -# target when running tests, otherwise this can be omitted. -#nodejs = "node" - -# The npm executable to use. Note that this is used for rustdoc-gui tests, -# otherwise this can be omitted. -# -# Under Windows this should be `npm.cmd` or path to it (verified on nodejs v18.06), or -# error will be emitted. -#npm = "npm" - -# Python interpreter to use for various tasks throughout the build, notably -# rustdoc tests, the lldb python interpreter, and some dist bits and pieces. -# -# Defaults to the Python interpreter used to execute x.py. -#python = "python" - -# The path to the REUSE executable to use. Note that REUSE is not required in -# most cases, as our tooling relies on a cached (and shrunk) copy of the -# REUSE output present in the git repository and in our source tarballs. -# -# REUSE is only needed if your changes caused the overall licensing of the -# repository to change, and the cached copy has to be regenerated. -# -# Defaults to the "reuse" command in the system path. -#reuse = "reuse" - -# Force Cargo to check that Cargo.lock describes the precise dependency -# set that all the Cargo.toml files create, instead of updating it. -#locked-deps = false - -# Indicate whether the vendored sources are used for Rust dependencies or not. -# -# Vendoring requires additional setup. We recommend using the pre-generated source tarballs if you -# want to use vendoring. See -# https://forge.rust-lang.org/infra/other-installation-methods.html#source-code. -#vendor = false - -# Typically the build system will build the Rust compiler twice. The second -# compiler, however, will simply use its own libraries to link against. If you -# would rather to perform a full bootstrap, compiling the compiler three times, -# then you can set this option to true. -# -# This is only useful for verifying that rustc generates reproducible builds. -#full-bootstrap = false - -# Enable a build of the extended Rust tool set which is not only the compiler -# but also tools such as Cargo. This will also produce "combined installers" -# which are used to install Rust and Cargo together. -# The `tools` (check `config.example.toml` to see its default value) option specifies -# which tools should be built if `extended = true`. -# -# This is disabled by default. -#extended = false - -# Set of tools to be included in the installation. -# -# If `extended = false`, the only one of these built by default is rustdoc. -# -# If `extended = true`, they're all included, with the exception of -# rust-demangler which additionally requires `profiler = true` to be set. -# -# If any enabled tool fails to build, the installation fails. -#tools = [ -# "cargo", -# "clippy", -# "rustdoc", -# "rustfmt", -# "rust-analyzer", -# "analysis", -# "src", -# "rust-demangler", # if profiler = true -#] - -# Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose, 3 == print environment variables on each rustc invocation -#verbose = 0 - -# Build the sanitizer runtimes -#sanitizers = false - -# Build the profiler runtime (required when compiling with options that depend -# on this runtime, such as `-C profile-generate` or `-C instrument-coverage`). -#profiler = false - -# Indicates whether the native libraries linked into Cargo will be statically -# linked or not. -#cargo-native-static = false - -# Run the build with low priority, by setting the process group's "nice" value -# to +10 on Unix platforms, and by using a "low priority" job object on Windows. -#low-priority = false - -# Arguments passed to the `./configure` script, used during distcheck. You -# probably won't fill this in but rather it's filled in by the `./configure` -# script. Useful for debugging. -#configure-args = [] - -# Indicates that a local rebuild is occurring instead of a full bootstrap, -# essentially skipping stage0 as the local compiler is recompiling itself again. -# Useful for modifying only the stage2 compiler without having to pass `--keep-stage 0` each time. -#local-rebuild = false - -# Print out how long each rustbuild step took (mostly intended for CI and -# tracking over time) -#print-step-timings = false - -# Print out resource usage data for each rustbuild step, as defined by the Unix -# struct rusage. (Note that this setting is completely unstable: the data it -# captures, what platforms it supports, the format of its associated output, and -# this setting's very existence, are all subject to change.) -#print-step-rusage = false - -# Always patch binaries for usage with Nix toolchains. If `true` then binaries -# will be patched unconditionally. If `false` or unset, binaries will be patched -# only if the current distribution is NixOS. This option is useful when using -# a Nix toolchain on non-NixOS distributions. -#patch-binaries-for-nix = false - -# Collect information and statistics about the current build and writes it to -# disk. Enabling this or not has no impact on the resulting build output. The -# schema of the file generated by the build metrics feature is unstable, and -# this is not intended to be used during local development. -#metrics = false - -# Specify the location of the Android NDK. Used when targeting Android. -#android-ndk = "/path/to/android-ndk-r25b" - -# ============================================================================= -# General install configuration options -# ============================================================================= -[install] - -# Where to install the generated toolchain. Must be an absolute path. -#prefix = "/usr/local" - -# Where to install system configuration files. -# If this is a relative path, it will get installed in `prefix` above -#sysconfdir = "/etc" - -# Where to install documentation in `prefix` above -#docdir = "share/doc/rust" - -# Where to install binaries in `prefix` above -#bindir = "bin" - -# Where to install libraries in `prefix` above -#libdir = "lib" - -# Where to install man pages in `prefix` above -#mandir = "share/man" - -# Where to install data in `prefix` above -#datadir = "share" - -# ============================================================================= -# Options for compiling Rust code itself -# ============================================================================= -[rust] - -# Whether or not to optimize when compiling the compiler and standard library, -# and what level of optimization to use. -# WARNING: Building with optimize = false is NOT SUPPORTED. Due to bootstrapping, -# building without optimizations takes much longer than optimizing. Further, some platforms -# fail to build without this optimization (c.f. #65352). -# The valid options are: -# true - Enable optimizations. -# false - Disable optimizations. -# 0 - Disable optimizations. -# 1 - Basic optimizations. -# 2 - Some optimizations. -# 3 - All optimizations. -# "s" - Optimize for binary size. -# "z" - Optimize for binary size, but also turn off loop vectorization. -#optimize = true - -# Indicates that the build should be configured for debugging Rust. A -# `debug`-enabled compiler and standard library will be somewhat -# slower (due to e.g. checking of debug assertions) but should remain -# usable. -# -# Note: If this value is set to `true`, it will affect a number of -# configuration options below as well, if they have been left -# unconfigured in this file. -# -# Note: changes to the `debug` setting do *not* affect `optimize` -# above. In theory, a "maximally debuggable" environment would -# set `optimize` to `false` above to assist the introspection -# facilities of debuggers like lldb and gdb. To recreate such an -# environment, explicitly set `optimize` to `false` and `debug` -# to `true`. In practice, everyone leaves `optimize` set to -# `true`, because an unoptimized rustc with debugging -# enabled becomes *unusably slow* (e.g. rust-lang/rust#24840 -# reported a 25x slowdown) and bootstrapping the supposed -# "maximally debuggable" environment (notably libstd) takes -# hours to build. -# -#debug = false - -# Whether to download the stage 1 and 2 compilers from CI. -# This is mostly useful for tools; if you have changes to `compiler/` or `library/` they will be ignored. -# -# Set this to "if-unchanged" to only download if the compiler and standard library have not been modified. -# Set this to `true` to download unconditionally (useful if e.g. you are only changing doc-comments). -#download-rustc = false - -# Number of codegen units to use for each compiler invocation. A value of 0 -# means "the number of cores on this machine", and 1+ is passed through to the -# compiler. -# -# Uses the rustc defaults: https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units -#codegen-units = if incremental { 256 } else { 16 } - -# Sets the number of codegen units to build the standard library with, -# regardless of what the codegen-unit setting for the rest of the compiler is. -# NOTE: building with anything other than 1 is known to occasionally have bugs. -#codegen-units-std = codegen-units - -# Whether or not debug assertions are enabled for the compiler and standard library. -# These can help find bugs at the cost of a small runtime slowdown. -# -# Defaults to rust.debug value -#debug-assertions = rust.debug (boolean) - -# Whether or not debug assertions are enabled for the standard library. -# Overrides the `debug-assertions` option, if defined. -# -# Defaults to rust.debug-assertions value -#debug-assertions-std = rust.debug-assertions (boolean) - -# Whether or not to leave debug! and trace! calls in the rust binary. -# -# Defaults to rust.debug-assertions value -# -# If you see a message from `tracing` saying "some trace filter directives would enable traces that -# are disabled statically" because `max_level_info` is enabled, set this value to `true`. -#debug-logging = rust.debug-assertions (boolean) - -# Whether or not overflow checks are enabled for the compiler and standard -# library. -# -# Defaults to rust.debug value -#overflow-checks = rust.debug (boolean) - -# Whether or not overflow checks are enabled for the standard library. -# Overrides the `overflow-checks` option, if defined. -# -# Defaults to rust.overflow-checks value -#overflow-checks-std = rust.overflow-checks (boolean) - -# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`. -# `0` - no debug info -# `1` - line tables only - sufficient to generate backtraces that include line -# information and inlined functions, set breakpoints at source code -# locations, and step through execution in a debugger. -# `2` - full debug info with variable and type information -# Can be overridden for specific subsets of Rust code (rustc, std or tools). -# Debuginfo for tests run with compiletest is not controlled by this option -# and needs to be enabled separately with `debuginfo-level-tests`. -# -# Note that debuginfo-level = 2 generates several gigabytes of debuginfo -# and will slow down the linking process significantly. -#debuginfo-level = if rust.debug { 1 } else { 0 } - -# Debuginfo level for the compiler. -#debuginfo-level-rustc = rust.debuginfo-level - -# Debuginfo level for the standard library. -#debuginfo-level-std = rust.debuginfo-level - -# Debuginfo level for the tools. -#debuginfo-level-tools = rust.debuginfo-level - -# Debuginfo level for the test suites run with compiletest. -# FIXME(#61117): Some tests fail when this option is enabled. -#debuginfo-level-tests = 0 - -# Should rustc be build with split debuginfo? Default is platform dependent. -# Valid values are the same as those accepted by `-C split-debuginfo` -# (`off`/`unpacked`/`packed`). -# -# On Linux, split debuginfo is disabled by default. -# -# On Apple platforms, unpacked split debuginfo is used by default. Unpacked -# debuginfo does not run `dsymutil`, which packages debuginfo from disparate -# object files into a single `.dSYM` file. `dsymutil` adds time to builds for -# no clear benefit, and also makes it more difficult for debuggers to find -# debug info. The compiler currently defaults to running `dsymutil` to preserve -# its historical default, but when compiling the compiler itself, we skip it by -# default since we know it's safe to do so in that case. -# -# On Windows platforms, packed debuginfo is the only supported option, -# producing a `.pdb` file. -#split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked } - -# Whether or not `panic!`s generate backtraces (RUST_BACKTRACE) -#backtrace = true - -# Whether to always use incremental compilation when building rustc -#incremental = false - -# Build a multi-threaded rustc. This allows users to use parallel rustc -# via the unstable option `-Z threads=n`. -# Since stable/beta channels only allow using stable features, -# `parallel-compiler = false` should be set for these channels. -parallel-compiler = true - -# The default linker that will be hard-coded into the generated -# compiler for targets that don't specify a default linker explicitly -# in their target specifications. Note that this is not the linker -# used to link said compiler. It can also be set per-target (via the -# `[target.]` block), which may be useful in a cross-compilation -# setting. -# -# See https://doc.rust-lang.org/rustc/codegen-options/index.html#linker for more information. -#default-linker = (path) - -# The "channel" for the Rust build to produce. The stable/beta channels only -# allow using stable features, whereas the nightly and dev channels allow using -# nightly features -#channel = "dev" - -# A descriptive string to be appended to `rustc --version` output, which is -# also used in places like debuginfo `DW_AT_producer`. This may be useful for -# supplementary build information, like distro-specific package versions. -# -# The Rust compiler will differentiate between versions of itself, including -# based on this string, which means that if you wish to be compatible with -# upstream Rust you need to set this to "". However, note that if you are not -# actually compatible -- for example if you've backported patches that change -# behavior -- this may lead to miscompilations or other bugs. -#description = "" - -# The root location of the musl installation directory. The library directory -# will also need to contain libunwind.a for an unwinding implementation. Note -# that this option only makes sense for musl targets that produce statically -# linked binaries. -# -# Defaults to /usr on musl hosts. Has no default otherwise. -#musl-root = (path) - -# By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix -# platforms to ensure that the compiler is usable by default from the build -# directory (as it links to a number of dynamic libraries). This may not be -# desired in distributions, for example. -#rpath = true - -# Prints each test name as it is executed, to help debug issues in the test harness itself. -#verbose-tests = false - -# Flag indicating whether tests are compiled with optimizations (the -O flag). -#optimize-tests = true - -# Flag indicating whether codegen tests will be run or not. If you get an error -# saying that the FileCheck executable is missing, you may want to disable this. -# Also see the target's llvm-filecheck option. -#codegen-tests = true - -# Flag indicating whether git info will be retrieved from .git automatically. -# Having the git information can cause a lot of rebuilds during development. -# -# FIXME(#76720): this can causes bugs if different compilers reuse the same metadata cache. -#omit-git-hash = if rust.channel == "dev" { true } else { false } - -# Whether to create a source tarball by default when running `x dist`. -# -# You can still build a source tarball when this is disabled by explicitly passing `x dist rustc-src`. -#dist-src = true - -# After building or testing an optional component (e.g. the nomicon or reference), append the -# result (broken, compiling, testing) into this JSON file. -#save-toolstates = (path) - -# This is an array of the codegen backends that will be compiled for the rustc -# that's being compiled. The default is to only build the LLVM codegen backend, -# and currently the only standard options supported are `"llvm"`, `"cranelift"` -# and `"gcc"`. The first backend in this list will be used as default by rustc -# when no explicit backend is specified. -#codegen-backends = ["llvm"] - -# Indicates whether LLD will be compiled and made available in the sysroot for -# rustc to execute. -#lld = false - -# Indicates whether LLD will be used to link Rust crates during bootstrap on -# supported platforms. The LLD from the bootstrap distribution will be used -# and not the LLD compiled during the bootstrap. -# -# LLD will not be used if we're cross linking. -# -# Explicitly setting the linker for a target will override this option when targeting MSVC. -#use-lld = false - -# Indicates whether some LLVM tools, like llvm-objdump, will be made available in the -# sysroot. -#llvm-tools = false - -# Whether to deny warnings in crates -#deny-warnings = true - -# Print backtrace on internal compiler errors during bootstrap -#backtrace-on-ice = false - -# Whether to verify generated LLVM IR -#verify-llvm-ir = false - -# Compile the compiler with a non-default ThinLTO import limit. This import -# limit controls the maximum size of functions imported by ThinLTO. Decreasing -# will make code compile faster at the expense of lower runtime performance. -#thin-lto-import-instr-limit = if incremental { 10 } else { LLVM default (currently 100) } - -# Map debuginfo paths to `/rust/$sha/...`. -# Useful for reproducible builds. Generally only set for releases -#remap-debuginfo = false - -# Link the compiler and LLVM against `jemalloc` instead of the default libc allocator. -# This option is only tested on Linux and OSX. -#jemalloc = false - -# Run tests in various test suites with the "nll compare mode" in addition to -# running the tests in normal mode. Largely only used on CI and during local -# development of NLL -#test-compare-mode = false - -# Global default for llvm-libunwind for all targets. See the target-specific -# documentation for llvm-libunwind below. Note that the target-specific -# option will override this if set. -#llvm-libunwind = 'no' - -# Enable Windows Control Flow Guard checks in the standard library. -# This only applies from stage 1 onwards, and only for Windows targets. -#control-flow-guard = false - -# Enable symbol-mangling-version v0. This can be helpful when profiling rustc, -# as generics will be preserved in symbols (rather than erased into opaque T). -# When no setting is given, the new scheme will be used when compiling the -# compiler and its tools and the legacy scheme will be used when compiling the -# standard library. -# If an explicit setting is given, it will be used for all parts of the codebase. -#new-symbol-mangling = true|false (see comment) - -# Select LTO mode that will be used for compiling rustc. By default, thin local LTO -# (LTO within a single crate) is used (like for any Rust crate). You can also select -# "thin" or "fat" to apply Thin/Fat LTO to the `rustc_driver` dylib, or "off" to disable -# LTO entirely. -#lto = "thin-local" - -# Build compiler with the optimization enabled and -Zvalidate-mir, currently only for `std` -#validate-mir-opts = 3 - -# ============================================================================= -# Options for specific targets -# -# Each of the following options is scoped to the specific target triple in -# question and is used for determining how to compile each target. -# ============================================================================= -[target.x86_64-unknown-linux-gnu] - -# C compiler to be used to compile C code. Note that the -# default value is platform specific, and if not specified it may also depend on -# what platform is crossing to what platform. -# See `src/bootstrap/cc_detect.rs` for details. -#cc = "cc" (path) - -# C++ compiler to be used to compile C++ code (e.g. LLVM and our LLVM shims). -# This is only used for host targets. -# See `src/bootstrap/cc_detect.rs` for details. -#cxx = "c++" (path) - -# Archiver to be used to assemble static libraries compiled from C/C++ code. -# Note: an absolute path should be used, otherwise LLVM build will break. -#ar = "ar" (path) - -# Ranlib to be used to assemble static libraries compiled from C/C++ code. -# Note: an absolute path should be used, otherwise LLVM build will break. -#ranlib = "ranlib" (path) - -# Linker to be used to bootstrap Rust code. Note that the -# default value is platform specific, and if not specified it may also depend on -# what platform is crossing to what platform. -# Setting this will override the `use-lld` option for Rust code when targeting MSVC. -#linker = "cc" (path) - -# Path to the `llvm-config` binary of the installation of a custom LLVM to link -# against. Note that if this is specified we don't compile LLVM at all for this -# target. -#llvm-config = (path) - -# Override detection of whether this is a Rust-patched LLVM. This would be used -# in conjunction with either an llvm-config or build.submodules = false. -#llvm-has-rust-patches = if llvm-config { false } else { true } - -# Normally the build system can find LLVM's FileCheck utility, but if -# not, you can specify an explicit file name for it. -#llvm-filecheck = "/path/to/llvm-version/bin/FileCheck" - -# Use LLVM libunwind as the implementation for Rust's unwinder. -# Accepted values are 'in-tree' (formerly true), 'system' or 'no' (formerly false). -# This option only applies for Linux and Fuchsia targets. -# On Linux target, if crt-static is not enabled, 'no' means dynamic link to -# `libgcc_s.so`, 'in-tree' means static link to the in-tree build of llvm libunwind -# and 'system' means dynamic link to `libunwind.so`. If crt-static is enabled, -# the behavior is depend on the libc. On musl target, 'no' and 'in-tree' both -# means static link to the in-tree build of llvm libunwind, and 'system' means -# static link to `libunwind.a` provided by system. Due to the limitation of glibc, -# it must link to `libgcc_eh.a` to get a working output, and this option have no effect. -#llvm-libunwind = 'no' if Linux, 'in-tree' if Fuchsia - -# Build the sanitizer runtimes for this target. -# This option will override the same option under [build] section. -#sanitizers = build.sanitizers (bool) - -# When true, build the profiler runtime for this target (required when compiling -# with options that depend on this runtime, such as `-C profile-generate` or -# `-C instrument-coverage`). This may also be given a path to an existing build -# of the profiling runtime library from LLVM's compiler-rt. -# This option will override the same option under [build] section. -#profiler = build.profiler (bool) - -# This option supports enable `rpath` in each target independently, -# and will override the same option under [rust] section. It only works on Unix platforms -#rpath = rust.rpath (bool) - -# Force static or dynamic linkage of the standard library for this target. If -# this target is a host for rustc, this will also affect the linkage of the -# compiler itself. This is useful for building rustc on targets that normally -# only use static libraries. If unset, the target's default linkage is used. -#crt-static = (bool) - -# The root location of the musl installation directory. The library directory -# will also need to contain libunwind.a for an unwinding implementation. Note -# that this option only makes sense for musl targets that produce statically -# linked binaries. -#musl-root = build.musl-root (path) - -# The full path to the musl libdir. -#musl-libdir = musl-root/lib - -# The root location of the `wasm32-wasi` sysroot. Only used for the -# `wasm32-wasi` target. If you are building wasm32-wasi target, make sure to -# create a `[target.wasm32-wasi]` section and move this field there. -#wasi-root = (path) - -# Used in testing for configuring where the QEMU images are located, you -# probably don't want to use this. -#qemu-rootfs = (path) - -# Skip building the `std` library for this target. Enabled by default for -# target triples containing `-none`, `nvptx`, `switch`, or `-uefi`. -#no-std = (bool) - -# ============================================================================= -# Distribution options -# -# These options are related to distribution, mostly for the Rust project itself. -# You probably won't need to concern yourself with any of these options -# ============================================================================= -[dist] - -# This is the folder of artifacts that the build system will sign. All files in -# this directory will be signed with the default gpg key using the system `gpg` -# binary. The `asc` and `sha256` files will all be output into the standard dist -# output folder (currently `build/dist`) -# -# This folder should be populated ahead of time before the build system is -# invoked. -#sign-folder = (path) - -# The remote address that all artifacts will eventually be uploaded to. The -# build system generates manifests which will point to these urls, and for the -# manifests to be correct they'll have to have the right URLs encoded. -# -# Note that this address should not contain a trailing slash as file names will -# be appended to it. -#upload-addr = (URL) - -# Whether to build a plain source tarball to upload -# We disable that on Windows not to override the one already uploaded on S3 -# as the one built on Windows will contain backslashes in paths causing problems -# on linux -#src-tarball = true - -# Whether to allow failures when building tools -#missing-tools = false - -# List of compression formats to use when generating dist tarballs. The list of -# formats is provided to rust-installer, which must support all of them. -# -# This list must be non-empty. -#compression-formats = ["gz", "xz"] - -# How much time should be spent compressing the tarballs. The better the -# compression profile, the longer compression will take. -# -# Available options: fast, balanced, best -#compression-profile = "fast" - -# Copy the linker, DLLs, and various libraries from MinGW into the rustc toolchain. -# Only applies when the host or target is pc-windows-gnu. -#include-mingw-linker = true From facf96a1ab154a6ce4bb2d36b37b8c257115163e Mon Sep 17 00:00:00 2001 From: blyxyas Date: Wed, 8 May 2024 21:23:37 +0200 Subject: [PATCH 05/14] Removing unused files --- hi | 74 - hi.meow | 4750 ------------------------------------------------------- 2 files changed, 4824 deletions(-) delete mode 100644 hi delete mode 100644 hi.meow diff --git a/hi b/hi deleted file mode 100644 index 9fa8c74aa3b9d..0000000000000 --- a/hi +++ /dev/null @@ -1,74 +0,0 @@ -Building stage0 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) -Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) -Building stage1 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) -Building tool clippy-driver (stage1 -> stage2, x86_64-unknown-linux-gnu) -Building tool rustdoc (stage0 -> stage1, x86_64-unknown-linux-gnu) -Testing clippy (stage1 -> stage2, x86_64-unknown-linux-gnu) - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -FAILED TEST: tests/ui/exit2.rs -command: CLIPPY_CONF_DIR="tests" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Dwarnings" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-15859bc70e26b2c2.rlib" "--extern=clippy_lints=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-6ae965a95ffd2e3c.rlib" "--extern=clippy_utils=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-71733ddb9ecce88a.rlib" "--extern=futures=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-71302d2ee8a2c7bf.rlib" "--extern=if_chain=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-999060082979f384.rlib" "--extern=itertools=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-550ba3cff1655c88.rlib" "--extern=parking_lot=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-6cdd429df493089b.rlib" "--extern=quote=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libquote-615cef40356d1416.rlib" "--extern=regex=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6b820ef91210afb4.rlib" "--extern=serde=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libserde-c10e61b4b82b3d45.rlib" "--extern=serde_derive=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/release/deps/libserde_derive-0ee13609fcf2aa2c.so" "--extern=syn=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-788f6a05a96fc056.rlib" "--extern=tokio=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-72251019acb0cd25.rlib" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/release/deps" "--out-dir" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/ui_test/tests/ui" "tests/ui/exit2.rs" "--edition" "2021" - -error: actual output differed from expected -Execute `cargo uibless` to update `tests/ui/exit2.stderr` to the actual output ---- tests/ui/exit2.stderr -+++ --error: usage of `process::exit` -- --> $DIR/exit2.rs:4:5 -- | --LL | std::process::exit(3); -- | ^^^^^^^^^^^^^^^^^^^^^ -- | -- = note: `-D clippy::exit` implied by `-D warnings` -- = help: to override `-D warnings` add `#[allow(clippy::exit)]` -- --error: aborting due to previous error -- - - -error: `usage of `process::exit`` not found in diagnostics on line 4 - --> tests/ui/exit2.rs:5:17 - | -5 | //~^ ERROR: usage of `process::exit` - | ^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern - | - -error: ``-D clippy::exit` implied by `-D warnings`` not found in diagnostics on line 4 - --> tests/ui/exit2.rs:6:16 - | -6 | //~| NOTE: `-D clippy::exit` implied by `-D warnings` - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern - | - -full stderr: - -full stdout: - - -FAILURES: - tests/ui/exit2.rs - -test result: FAIL. 1 failed; - - - -command did not execute successfully: cd "/home/queen/git/rust" && env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_TARGET_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools" CC_x86_64_unknown_linux_gnu="cc" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu" CFG_RELEASE="1.76.0-dev" CFG_RELEASE_CHANNEL="dev" CFG_RELEASE_NUM="1.76.0" CFG_VERSION="1.76.0-dev" CFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXXFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXX_x86_64_unknown_linux_gnu="c++" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/nightly" HOST_LIBS="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1-tools/release" LD_LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" LIBC_CHECK_CFG="1" LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/ci-llvm/lib" LZMA_API_STATIC="1" RANLIB_x86_64_unknown_linux_gnu="ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/native" RUSTC="/home/queen/git/rust/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/home/queen/git/rust/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="-Zunstable-options --check-cfg=values(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_LIB_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros -Dwarnings" RUSTC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_SNAPSHOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTC_STAGE="1" RUSTC_SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1" RUSTC_TEST_SUITE="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="0" RUSTDOC="/home/queen/git/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=values(bootstrap) --check-cfg=values(parallel_compiler) --check-cfg=values(no_btreemap_remove_entry) --check-cfg=values(crossbeam_loom) --check-cfg=values(span_locations) --check-cfg=values(rustix_use_libc) --check-cfg=values(emulate_second_only_system) --check-cfg=values(windows_raw_dylib) -Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version 1.76.0-dev" RUSTDOC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/lib" RUSTDOC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustdoc" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=values(bootstrap) --check-cfg=values(parallel_compiler) --check-cfg=values(no_btreemap_remove_entry) --check-cfg=values(crossbeam_loom) --check-cfg=values(span_locations) --check-cfg=values(rustix_use_libc) --check-cfg=values(emulate_second_only_system) --check-cfg=values(windows_raw_dylib) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off" RUST_TEST_THREADS="12" SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage1" __CARGO_DEFAULT_LIB_METADATA="devtool-rustc" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "--release" "-Zcheck-cfg=names,values,output,features" "-Zbinary-dep-depinfo" "-j" "12" "--manifest-path" "/home/queen/git/rust/src/tools/clippy/Cargo.toml" "--" "--quiet" -expected success, got: exit status: 101 - -stdout ---- - -stderr ---- - - - diff --git a/hi.meow b/hi.meow deleted file mode 100644 index 760922ffa43fa..0000000000000 --- a/hi.meow +++ /dev/null @@ -1,4750 +0,0 @@ -Building stage0 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) -Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) -Building stage1 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) -Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) -Uplifting library (stage1 -> stage2) -Uplifting rustc (stage1 -> stage3) -Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) -Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) -Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -FAILED TEST: tests/ui/allow_attributes_without_reason.rs -command: CLIPPY_CONF_DIR="tests" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Dwarnings" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-b1ed3dd789362462.rlib" "--extern=clippy_lints=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-f897963c197b4fc0.rlib" "--extern=clippy_utils=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-7395d1b2462287c7.rlib" "--extern=futures=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-aebcfd7dac7d3088.rlib" "--extern=if_chain=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-a78fd0c1acb6f3f1.rlib" "--extern=parking_lot=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-b45c0e6b775a7a8a.rlib" "--extern=quote=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-3f04d1a699650dc6.rlib" "--extern=regex=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-065caefeebfe2dba.rlib" "--extern=serde=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-7d9e216c92f863c1.rlib" "--extern=serde_derive=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5830cc74715e108e.so" "--extern=syn=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-08d9a4cb2c4a6f09.rlib" "--extern=tokio=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-0ed43d7488ec58ff.rlib" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/allow_attributes_without_reason.rs" "--edition" "2021" "--extern" "proc_macros=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary/libproc_macros.so" "-L" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary" - -error: actual output differed from expected -Execute `cargo uibless` to update `tests/ui/allow_attributes_without_reason.stderr` to the actual output ---- tests/ui/allow_attributes_without_reason.stderr -+++ -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true - error: `allow` attribute without specifying a reason - --> $DIR/allow_attributes_without_reason.rs:4:1 -... 35 lines skipped ... - error: aborting due to 4 previous errors - - - -full stderr: -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -error: `allow` attribute without specifying a reason - --> tests/ui/allow_attributes_without_reason.rs:4:1 - | -LL | #![allow(unfulfilled_lint_expectations)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = help: try adding a reason at the end with `, reason = ".."` -note: the lint level is defined here - --> tests/ui/allow_attributes_without_reason.rs:3:9 - | -LL | #![deny(clippy::allow_attributes_without_reason)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: `allow` attribute without specifying a reason - --> tests/ui/allow_attributes_without_reason.rs:10:1 - | -LL | #[allow(dead_code)] - | ^^^^^^^^^^^^^^^^^^^ - | - = help: try adding a reason at the end with `, reason = ".."` - -error: `allow` attribute without specifying a reason - --> tests/ui/allow_attributes_without_reason.rs:11:1 - | -LL | #[allow(dead_code, deprecated)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = help: try adding a reason at the end with `, reason = ".."` - -error: `expect` attribute without specifying a reason - --> tests/ui/allow_attributes_without_reason.rs:12:1 - | -LL | #[expect(dead_code)] - | ^^^^^^^^^^^^^^^^^^^^ - | - = help: try adding a reason at the end with `, reason = ".."` - -error: aborting due to 4 previous errors - - -full stdout: - - - -FAILED TEST: tests/ui/allow_attributes.rs -command: CLIPPY_CONF_DIR="tests" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Dwarnings" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-b1ed3dd789362462.rlib" "--extern=clippy_lints=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-f897963c197b4fc0.rlib" "--extern=clippy_utils=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-7395d1b2462287c7.rlib" "--extern=futures=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-aebcfd7dac7d3088.rlib" "--extern=if_chain=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-a78fd0c1acb6f3f1.rlib" "--extern=parking_lot=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-b45c0e6b775a7a8a.rlib" "--extern=quote=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-3f04d1a699650dc6.rlib" "--extern=regex=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-065caefeebfe2dba.rlib" "--extern=serde=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-7d9e216c92f863c1.rlib" "--extern=serde_derive=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5830cc74715e108e.so" "--extern=syn=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-08d9a4cb2c4a6f09.rlib" "--extern=tokio=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-0ed43d7488ec58ff.rlib" "-Ldependency=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--crate-type=lib" "--out-dir" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/allow_attributes.rs" "--edition" "2021" "--extern" "proc_macros=/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary/libproc_macros.so" "-L" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/auxiliary" - -error: actual output differed from expected -Execute `cargo uibless` to update `tests/ui/allow_attributes.stderr` to the actual output ---- tests/ui/allow_attributes.stderr -+++ -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = false -+[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" -+[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| -+ hashmap.contains(&LintId::of(lint))) = true - error: #[allow] attribute found - --> $DIR/allow_attributes.rs:13:3 -... 13 lines skipped ... - error: aborting due to 2 previous errors - - - -full stderr: -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_REFCELL_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AWAIT_HOLDING_INVALID_TYPE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SERDE_API_MISUSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_COLLECTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_BOX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_OPTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINKEDLIST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROWED_BOX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ALLOCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_BUFFER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_MUTEX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_COMPLEXITY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONMINIMAL_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERLY_COMPLEX_BOOL_EXPR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXCESSIVE_PRECISION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LOSSY_FLOAT_LITERAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_ARG" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_NULL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_FROM_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_NULL_PTR_USAGE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BOOL_ASSIGN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_COMPARISON" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_FOR_EACH" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOPLEVEL_REF_ARG" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USED_UNDERSCORE_BINDING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHORT_CIRCUIT_STATEMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_FOR_METHOD_CALLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MUT_PASSED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_TIGHTENING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LEN_WITHOUT_IS_EMPTY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_TO_EMPTY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_ALWAYS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEPRECATED_SEMVER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ATTRIBUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLANKET_CLIPPY_RESTRICTION_LINTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_PANIC_WITHOUT_EXPECT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BLOCKS_IN_CONDITIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVISIBLE_CHARACTERS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_ASCII_LITERAL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNICODE_NOT_NFC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_VEC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_RETURN_EXPECTING_ORD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_ADD_ASSIGN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_SLICE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_RETURN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_SUB" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_NUMERIC_FALLBACK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_OCTAL_UNIX_PERMISSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::APPROX_CONSTANT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_USED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_USED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHOULD_IMPLEMENT_TRAIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_SELF_CONVENTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OK_EXPECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_OR_DEFAULT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_UNWRAP_OR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_OR_INTO_OPTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_NONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIND_INSTEAD_OF_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_FUN_CALL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OR_THEN_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPECT_FUN_CALL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_NEXT_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHARS_LAST_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_COPY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONE_ON_REF_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_STR_REPLACE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVEREAGER_CLONED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLONED_INSTEAD_OF_COPIED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_OPTION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFICIENT_TO_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_RET_NO_SELF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_PATTERN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CHAR_ADD_STR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEARCH_IS_SOME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SKIP_WHILE_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_IDENTITY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_IDENTITY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLAT_MAP_IDENTITY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_FLATTEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITERATOR_STEP_BY_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_SLICE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_COUNT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NTH_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_NTH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_NEXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_LAST_WITH_LEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_EXTEND_CHARS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_CLONED_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITH_DRAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_ID_ON_BOX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_ASREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FOLD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FIND_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_ON_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINIT_ASSUMED_INIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SATURATING_ARITHMETIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZST_OFFSET" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILETYPE_IS_FILE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_DEREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LAZY_EVALUATIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_COLLECT_RESULT_UNIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_ITER_INSTEAD_OF_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INSPECT_FOR_EACH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_CLONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_TO_OWNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_SPLITN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STR_REPEAT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTEND_WITH_DRAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SPLIT_ONCE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_SPLITN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_TO_OWNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_JOIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERR_EXPECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_AS_DEREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IS_DIGIT_ASCII_RADIX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_OPTION_TAKE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_REPLACE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OBFUSCATED_IF_ELSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_SINGLE_ITEMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_ON_EMPTY_COLLECTIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NAIVE_BYTECOUNT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BYTES_COUNT_TO_LEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::GET_FIRST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_OK_OR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_CLONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ERR_IGNORE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_MUTEX_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NONSENSICAL_OPEN_OPTIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_BUF_PUSH_OVERWRITE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_ZIP_WITH_LEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_ONCE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STABLE_SORT_PRIMITIVE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_HASH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_LINE_WITHOUT_TRIM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SORT_BY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_RESIZE_TO_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_FILE_READS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_KV_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_FROM_CURRENT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEEK_TO_START_INSTEAD_OF_REWIND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_COMMAND_ARG_SPACE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CLEAR_WITH_DRAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NEXT_BACK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_LITERAL_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DRAIN_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_TRY_FOLD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_COLLECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_CHARS_ANY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_SKIP_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FILTER_MAP_BOOL_THEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READONLY_WRITE_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OUT_OF_BOUNDS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATH_ENDS_WITH_EXT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_AS_STR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WAKER_CLONE_WAKE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_FALLIBLE_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::JOIN_ABSOLUTE_PATHS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_OR_ERR_OK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_FILTER_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_SOME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_FILTER_IS_OK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_VARIANT_AND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_SPLIT_AT_NEWLINE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_AS_REF_CLONED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_REF_PATS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_MATCH_ELSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_OVERLAPPING_ARM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILD_ERR_ARM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_AS_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_ENUM_MATCH_ARM" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_WILDCARD_FOR_SINGLE_VARIANTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IN_OR_PATTERNS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SINGLE_BINDING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFALLIBLE_DESTRUCTURING_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REST_PAT_IN_FULLY_BOUND_STRUCTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PATTERN_MATCHING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_LIKE_MATCHES_MACRO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_SAME_ARMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLAPSIBLE_MATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_UNWRAP_OR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_ON_VEC_ITEMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_STR_CASE_MISMATCH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIGNIFICANT_DROP_IN_SCRUTINEE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRY_ERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FILTER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_GUARDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_NON_EXHAUSTIVE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRIP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHECKED_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_OPTION_WITH_NONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_UNINIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_REPLACE_WITH_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_PLUS_ONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RANGE_MINUS_ONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REVERSED_EMPTY_RANGES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_CONTAINS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_OVER_INTO" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_SELF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_CONST_FOR_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_QUESTION_MARK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PRECISION_LOSS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SIGN_LOSS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_TRUNCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_POSSIBLE_WRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_LOSSLESS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_PTR_ALIGNMENT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_DIFFERENT_SIZES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_CAST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_ANY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_TO_NUMERIC_CAST_WITH_TRUNCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CHAR_LIT_AS_U8" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_AS_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_CAST_CONSTNESS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_TRUNCATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ENUM_CONSTRUCTOR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_ABS_TO_UNSIGNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_UNDERSCORE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_AS_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_SLICE_FROM_RAW_PARTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_PTR_CAST_MUT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CAST_NAN_TO_INT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_PTR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_IN_ELEMENT_COUNT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_NAME_METHOD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEX_REFUTABLE_SLICE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_SAME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_REUSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SHADOW_UNRELATED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNIT_VALUE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIT_ARG" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MEMCPY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FLATTEN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RANGE_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_ITER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_INTO_ITER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NEXT_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_COUNTER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_LET_ON_ITERATOR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOR_KV_MAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEVER_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUT_RANGE_BOUND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WHILE_IMMUTABLE_CONDITION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_ITEM_PUSH" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_ELEMENT_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SPIN_LOOP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_FIND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_WHILE_LET_SOME" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ENUMERATE_INDEX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_LOOP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAIN_RECURSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LIFETIMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_LIFETIMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAP_ENTRY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_MAX" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_DIVIDED_BY_ZERO" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_ATOMIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTEX_INTEGER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_UPDATE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWED_REFERENCE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_DEREF_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OPERATION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_EFFECT_UNDERSCORE_BINDING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEMPORARY_ASSIGNMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CROSSPOINTER_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_PTR_TO_PTR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRONG_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_CHAR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_BYTES_TO_STR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_FLOAT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_INT_TO_NON_ZERO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_FLOAT_TO_INT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NUM_TO_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSOUND_COLLECTION_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_UNDEFINED_REPR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTING_NULL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRANSMUTE_NULL_TO_FN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EAGER_TRANSMUTE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COGNITIVE_COMPLEXITY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOXED_LOCAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_VEC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNIMPLEMENTED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNREACHABLE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TODO" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_LIT_AS_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_FROM_UTF8_AS_BYTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPL_IMPL_CLONE_ON_COPY" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVED_HASH_WITH_MANUAL_EQ" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_ORD_XOR_PARTIAL_ORD" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNSAFE_DERIVE_DESERIALIZE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVE_PARTIAL_EQ_WITHOUT_EQ" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DERIVABLE_IMPLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DROP_NON_DROP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORGET_NON_DROP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MEM_FORGET" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_ENUM" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_UPCAST_COMPARISONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INVALID_REGEX" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIAL_REGEX" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IFS_SAME_COND" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SAME_FUNCTIONS_IN_IF_CONDITION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_SAME_THEN_ELSE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BRANCHES_SHARING_CODE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COPY_ITERATOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_FORMAT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SWAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALMOST_SWAPPED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OVERFLOW_CHECK_CONDITIONAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEW_WITHOUT_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_NAMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_ARGUMENTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TOO_MANY_LINES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NOT_UNSAFE_PTR_ARG_DEREF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_UNIT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_MUST_USE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUST_USE_CANDIDATE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_UNIT_ERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_LARGE_ERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISNAMED_GETTERS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_TRAIT_IN_PARAMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_LINK_WITH_QUOTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOC_MARKDOWN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_SAFETY_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ERRORS_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_PANICS_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_DOCTEST_MAIN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TEST_ATTR_IN_DOCTEST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_DOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_DOC_COMMENTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_MULTIPLY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_LET_IF_SEQ" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIXED_READ_WRITE_IN_EXPRESSION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DIVERGING_SUB_EXPRESSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_ENUMS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXHAUSTIVE_STRUCTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MATCH_RESULT_OK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_NE_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_IO_AMOUNT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_ENUM_VARIANT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_WRITE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_VALUE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIVIALLY_COPY_PASS_BY_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_TYPES_PASSED_BY_VALUE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_OPTION_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INFINITE_ITER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MAYBE_INFINITE_ITER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INLINE_FN_WITHOUT_BODY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USELESS_CONVERSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_HASHER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FALLIBLE_IMPL_FROM" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_LET_ELSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::QUESTION_MARK_USED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_ARITHMETIC_IMPL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_OP_ASSIGN_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_MAP_UNIT_FN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESULT_MAP_UNIT_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_INHERENT_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEG_CMP_OP_ON_PARTIAL_ORD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANICKING_UNWRAP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_UNWRAP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INDEXING_SLICING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OUT_OF_BOUNDS_INDEXING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DECLARE_INTERIOR_MUTABLE_CONST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BORROW_INTERIOR_MUTABLE_CONST" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_OFFSET_WITH_CAST" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SLOW_VECTOR_INITIALIZATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_WRAPS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_CONSTANTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSERTIONS_ON_RESULT_STATES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INHERENT_TO_STRING_SHADOW_DISPLAY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TYPE_REPETITION_IN_BOUNDS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAIT_DUPLICATION_IN_BOUNDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COMPARISON_CHAIN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MUTABLE_KEY_TYPE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RECURSIVE_FORMAT_IMPL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_IN_FORMAT_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_CLOSURE_CALL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_AND_RETURN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_RETURN_WITH_QUESTION_MARK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_STATEMENTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CREATE_DIR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_VARIANT_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_FIELD_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_NAME_REPETITIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULE_INCEPTION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UPPER_CASE_ACRONYMS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_TRAIT_ACCESS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FIELD_REASSIGN_WITH_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_SELF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEBUG_ASSERT_WITH_MUT_CALL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_DIGIT_IS_SOME" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_ARRAYS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_CONST_ARRAYS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPRECISE_FLOPS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUBOPTIMAL_FLOPS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::AS_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_MUST_USE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_LOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_FUTURE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_UNDERSCORE_UNTYPED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRUCT_EXCESSIVE_BOOLS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_PARAMS_EXCESSIVE_BOOLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ENUM_GLOB_USE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_IMPORTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_PUB_CRATE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FN_ADDRESS_COMPARISONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_DEREF_METHODS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROW" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REF_BINDING_TO_REFERENCE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXPLICIT_AUTO_DEREF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OPTION_IF_LET_ELSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FUTURE_NOT_SEND" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_FUTURES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_LET_MUTEX" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_NOT_ELSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQUATABLE_IF_LET" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASYNC_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PANIC_IN_RESULT_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MACRO_USE_IMPORTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PATTERN_TYPE_MISMATCH" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNWRAP_IN_RESULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_IF_NOTHING_RETURNED" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASYNC_YIELDS_ASYNC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_MACROS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_METHODS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EMPTY_DROP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STR_TO_STRING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRING_TO_STRING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ZERO_SIZED_MAP_VALUES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VEC_INIT_THEN_PUSH" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_SLICING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEREF_BY_SLICING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_STR_RADIX_10" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IF_THEN_SOME_ELSE_NONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_ASSERT_COMPARISON" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_ASYNC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DISALLOWED_TYPES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ENFORCED_IMPORT_RENAMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STRLEN_ON_C_STRINGS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_NAMED_CONSTRUCTORS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_NOT_RETURNING_ITERATOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_ASSERT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_SEND_FIELDS_IN_SEND_TY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNDOCUMENTED_UNSAFE_BLOCKS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_SAFETY_COMMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_IN_FORMAT_ARGS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TO_STRING_IN_FORMAT_ARGS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINLINED_FORMAT_ARGS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_FORMAT_SPECS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRAILING_EMPTY_ARRAY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_LATE_INIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RETURN_SELF_NOT_MUST_USE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INIT_NUMBERED_FIELDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_BITS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_UNION_REPRESENTATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ONLY_USED_IN_RECURSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DBG_MACRO" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_WITH_NEWLINE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINTLN_EMPTY_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDOUT" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_STDERR" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::USE_DEBUG" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PRINT_LITERAL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_WITH_NEWLINE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITELN_EMPTY_STRING" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WRITE_LITERAL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CARGO_COMMON_METADATA" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_FEATURE_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEGATIVE_FEATURE_NAMES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_CRATE_VERSIONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::WILDCARD_DEPENDENCIES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FORMAT_PUSH_STRING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_INCLUDE_FILE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TRIM_SPLIT_WHITESPACE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RC_CLONE_IN_VEC_INIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SWAP_PTR_TO_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISMATCHING_TYPE_PARAM_ORDER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::READ_ZERO_BYTE_VEC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_REM_EUCLID" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RETAIN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSURD_EXTREME_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARITHMETIC_SIDE_EFFECTS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_ARITHMETIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ASSIGN_OP_PATTERN" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISREFACTORED_ASSIGN_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BAD_BIT_MASK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_BIT_MASK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::VERBOSE_BIT_MASK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DOUBLE_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPOSSIBLE_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_COMPARISONS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DURATION_SUBSEC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EQ_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::OP_REF" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERASING_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_EQUALITY_WITHOUT_ABS" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IDENTITY_OP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTEGER_DIVISION" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::CMP_OWNED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FLOAT_CMP_CONST" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ONE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MODULO_ARITHMETIC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BITWISE_BOOL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PTR_EQ" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SELF_ASSIGNMENT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_CORE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::STD_INSTEAD_OF_ALLOC" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOC_INSTEAD_OF_CORE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_INSTANT_ELAPSED" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCHECKED_DURATION_SUBTRACTION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PARTIALEQ_TO_NONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_CLAMP" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_STRING_NEW" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNUSED_PEEKABLE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOOL_TO_INT_WITH_IF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BOX_DEFAULT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLICIT_SATURATING_ADD" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_TRAIT_METHODS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FROM_RAW_WITH_VOID_PTR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SUSPICIOUS_XOR_USED_AS_POW" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_ASCII_CHECK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_INSIDE_BLOCK" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SEMICOLON_OUTSIDE_BLOCK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PERMISSIONS_SET_READONLY_FALSE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SIZE_OF_REF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::EXTRA_UNUSED_TYPE_PARAMETERS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NO_MANGLE_WITH_RUST_ABI" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::COLLECTION_IS_NEVER_READ" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERT_MESSAGE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_ASYNC_BLOCK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LET_WITH_TYPE_UNDERSCORE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ALLOW_ATTRIBUTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_MAIN_SEPARATOR_STR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_STRUCT_INITIALIZATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_BOX_RETURNS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LINES_FILTER_MAP_OK" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TESTS_OUTSIDE_TEST_MODULE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_SLICE_SIZE_CALCULATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITEMS_AFTER_TEST_MODULE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_FIELDS_IN_DEBUG" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::HOST_ENDIAN_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LITTLE_ENDIAN_BYTES" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::BIG_ENDIAN_BYTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_TYPE_ANNOTATIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ARC_WITH_NON_SEND_SYNC" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_IF" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MIN_IDENT_CHARS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::LARGE_STACK_FRAMES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_RANGE_IN_VEC_INIT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_PASS_BY_REF_MUT" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_CLONE_IMPL" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NON_CANONICAL_PARTIAL_ORD_IMPL" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::SINGLE_CALL_FN" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_RANGE_PATTERNS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::TUPLE_ARRAY_CONVERSIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_INFINITE" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_IS_FINITE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::FOUR_FORWARD_SLASHES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ERROR_IMPL_ERROR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ABSOLUTE_PATHS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REDUNDANT_LOCALS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IGNORED_UNIT_PATTERNS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::RESERVE_AFTER_INITIALIZATION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPLIED_BOUNDS_IN_IMPLS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MISSING_ASSERTS_FOR_INDEXING" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::MANUAL_HASH_ONE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_WITHOUT_INTO_ITER" -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INTO_ITER_WITHOUT_ITER" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::ITER_OVER_HASH_TYPE" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::REPEAT_VEC_WITH_CAPACITY" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNINHABITED_REFERENCES" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::INEFFECTIVE_OPEN_OPTIONS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::UNCONDITIONAL_RECURSION" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::PUB_UNDERSCORE_FIELDS" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = false -[compiler/rustc_lint/src/late.rs:437:60] &lint.name = "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST" -[compiler/rustc_lint/src/late.rs:438:9] &LintPass::get_lints(pass).iter().any(|&lint| - hashmap.contains(&LintId::of(lint))) = true -error: #[allow] attribute found - --> tests/ui/allow_attributes.rs:13:3 - | -LL | #[allow(dead_code)] - | ^^^^^ help: replace it with: `expect` - | - = note: `-D clippy::allow-attributes` implied by `-D warnings` - = help: to override `-D warnings` add `#[allow(clippy::allow_attributes)]` - -error: #[allow] attribute found - --> tests/ui/allow_attributes.rs:22:30 - | -LL | #[cfg_attr(panic = "unwind", allow(dead_code))] - | ^^^^^ help: replace it with: `expect` - -error: aborting due to 2 previous errors - - -full stdout: - - -FAILURES: - tests/ui/allow_attributes_without_reason.rs - tests/ui/allow_attributes.rs - -test result: FAIL. 2 failed; - - - -command did not execute successfully: cd "/home/queen/git/rust" && env -u MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar" CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false" CARGO_PROFILE_RELEASE_STRIP="false" CARGO_TARGET_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools" CC_x86_64_unknown_linux_gnu="cc" CFG_COMPILER_BUILD_TRIPLE="x86_64-unknown-linux-gnu" CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu" CFG_RELEASE="1.77.0-nightly" CFG_RELEASE_CHANNEL="nightly" CFG_RELEASE_NUM="1.77.0" CFG_VERSION="1.77.0-nightly (777955320 2024-01-26)" CFG_VER_DATE="2024-01-26" CFG_VER_HASH="777955320e5c4b0ad4b694854fdcae5c031505e2" CFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXXFLAGS_x86_64_unknown_linux_gnu="-ffunction-sections -fdata-sections -fPIC -m64" CXX_x86_64_unknown_linux_gnu="c++" DOC_RUST_LANG_ORG_CHANNEL="https://doc.rust-lang.org/nightly" HOST_LIBS="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release" LD_LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" LIBC_CHECK_CFG="1" LIBRARY_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/ci-llvm/lib" LZMA_API_STATIC="1" RANLIB_x86_64_unknown_linux_gnu="ar s" REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" RUSTBUILD_NATIVE_DIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/native" RUSTC="/home/queen/git/rust/build/bootstrap/debug/rustc" RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1" RUSTC_ERROR_METADATA_DST="/home/queen/git/rust/build/tmp/extended-error-metadata" RUSTC_HOST_FLAGS="-Zunstable-options --check-cfg=cfg(bootstrap)" RUSTC_INSTALL_BINDIR="bin" RUSTC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTC_LIB_PATH="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes -Dwarnings" RUSTC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_SNAPSHOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_SNAPSHOT_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTC_STAGE="2" RUSTC_SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2" RUSTC_TEST_SUITE="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_TLS_MODEL_INITIAL_EXEC="1" RUSTC_VERBOSE="0" RUSTC_WRAPPER="/home/queen/git/rust/build/bootstrap/debug/rustc" RUSTDOC="/home/queen/git/rust/build/bootstrap/debug/rustdoc" RUSTDOCFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(parallel_compiler) --check-cfg=cfg(rust_analyzer) --check-cfg=cfg(no_btreemap_remove_entry) --check-cfg=cfg(crossbeam_loom) --check-cfg=cfg(span_locations) --check-cfg=cfg(rustix_use_libc) --check-cfg=cfg(emulate_second_only_system) --check-cfg=cfg(windows_raw_dylib) -Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version 1.77.0-nightly\t(777955320\t2024-01-26)" RUSTDOC_LIBDIR="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/lib" RUSTDOC_REAL="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" RUSTFLAGS="--cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options --check-cfg=cfg(bootstrap) --check-cfg=cfg(parallel_compiler) --check-cfg=cfg(rust_analyzer) --check-cfg=cfg(no_btreemap_remove_entry) --check-cfg=cfg(crossbeam_loom) --check-cfg=cfg(span_locations) --check-cfg=cfg(rustix_use_libc) --check-cfg=cfg(emulate_second_only_system) --check-cfg=cfg(windows_raw_dylib) -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,$ORIGIN/../lib -Csplit-debuginfo=off -Zunstable-options" RUST_TEST_THREADS="12" SYSROOT="/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage2" __CARGO_DEFAULT_LIB_METADATA="nightlytool-rustc" "/home/queen/git/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "--release" "-Zcheck-cfg" "-Zbinary-dep-depinfo" "-j" "12" "--manifest-path" "/home/queen/git/rust/src/tools/clippy/Cargo.toml" "--" "--quiet" -expected success, got: exit status: 101 - -stdout ---- - -stderr ---- - - - From 0e844e5834f3d59954bad17b1dcbdb0b817ae5dd Mon Sep 17 00:00:00 2001 From: blyxyas Date: Sun, 12 May 2024 22:47:47 +0200 Subject: [PATCH 06/14] Meow --- .gitignore | 1 + compiler/rustc_ast/src/attr/mod.rs | 2 +- compiler/rustc_lint/src/levels.rs | 128 +++++++++++++----------- compiler/rustc_parse/src/parser/attr.rs | 49 ++++++++- compiler/rustc_session/src/parse.rs | 9 ++ src/tools/clippy/tests/ui/no_lints.rs | 3 + 6 files changed, 132 insertions(+), 60 deletions(-) create mode 100644 src/tools/clippy/tests/ui/no_lints.rs diff --git a/.gitignore b/.gitignore index 1e81f0de3b287..42d5ab266d3e4 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ Session.vim !/tests/run-make/thumb-none-qemu/example/.cargo ## Configuration +config.toml /Makefile config.mk config.stamp diff --git a/compiler/rustc_ast/src/attr/mod.rs b/compiler/rustc_ast/src/attr/mod.rs index 0f12fd3197520..321557837251d 100644 --- a/compiler/rustc_ast/src/attr/mod.rs +++ b/compiler/rustc_ast/src/attr/mod.rs @@ -210,7 +210,7 @@ impl AttrItem { self.args.span().map_or(self.path.span, |args_span| self.path.span.to(args_span)) } - fn meta_item_list(&self) -> Option> { + pub fn meta_item_list(&self) -> Option> { match &self.args { AttrArgs::Delimited(args) if args.delim == Delimiter::Parenthesis => { MetaItemKind::list_from_tokens(args.tokens.clone()) diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 7ef4216487c08..e6af66af817e2 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -15,7 +15,7 @@ use crate::{ }; use rustc_ast as ast; use rustc_ast_pretty::pprust; -use rustc_data_structures::{fx::FxIndexMap, sync::Lrc}; +use rustc_data_structures::{fx::FxIndexMap, sync::{Lrc, par_for_each_in, Lock}}; use rustc_errors::{Diag, DiagMessage, LintDiagnostic, MultiSpan}; use rustc_feature::{Features, GateIssue}; use rustc_hir as hir; @@ -160,11 +160,11 @@ pub fn lints_that_can_emit(tcx: TyCtxt<'_>, (): ()) -> Lrc<(Vec, Vec Visitor<'tcx> for LintLevelsBuilder<'_, QueryMapExpectationsWrapper<' /// /// E.g., if a crate has a global #![allow(lint)] attribute, but a single item /// uses #[warn(lint)], this visitor will set that lint level as `Warn` -struct LintLevelMinimumVisitor<'tcx> { +struct LintLevelMinimum<'tcx> { tcx: TyCtxt<'tcx>, /// The actual list of detected lints. - lints_to_emit: Vec, - lints_allowed: Vec, + lints_to_emit: Lock>, + lints_allowed: Lock>, } -impl<'tcx> LintLevelMinimumVisitor<'tcx> { +impl<'tcx> LintLevelMinimum<'tcx> { pub fn new(tcx: TyCtxt<'tcx>) -> Self { Self { tcx, // That magic number is the current number of lints + some more for possible future lints - lints_to_emit: Vec::with_capacity(230), - lints_allowed: Vec::with_capacity(100), + lints_to_emit: Lock::new(Vec::with_capacity(230)), + lints_allowed: Lock::new(Vec::with_capacity(100)), } } fn process_opts(&mut self) { for (lint, level) in &self.tcx.sess.opts.lint_opts { if *level == Level::Allow { - self.lints_allowed.push(Symbol::intern(&lint)); + self.lints_allowed.with_lock(|lints_allowed|{lints_allowed.push(Symbol::intern(&lint)) }); } else { - self.lints_to_emit.push(Symbol::intern(&lint)); + self.lints_to_emit.with_lock(|lints_to_emit| {lints_to_emit.push(Symbol::intern(&lint)) }); } } } -} - -impl<'tcx> Visitor<'tcx> for LintLevelMinimumVisitor<'tcx> { - type NestedFilter = nested_filter::All; - - fn nested_visit_map(&mut self) -> Self::Map { - self.tcx.hir() - } - fn visit_attribute(&mut self, attribute: &'tcx ast::Attribute) { - if let Some(meta) = attribute.meta() { - if [sym::warn, sym::deny, sym::forbid, sym::expect] - .iter() - .any(|kind| meta.has_name(*kind)) - { - // SAFETY: Lint attributes are always a metalist inside a - // metalist (even with just one lint). - for meta_list in meta.meta_item_list().unwrap() { - // If it's a tool lint (e.g. clippy::my_clippy_lint) - if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { - if meta_item.path.segments.len() == 1 { - self.lints_to_emit.push( - // SAFETY: Lint attributes can only have literals - meta_list.ident().unwrap().name, - ); - } else { - self.lints_to_emit.push(meta_item.path.segments[1].ident.name); - } - } - } - // We handle #![allow]s differently, as these remove checking rather than adding. - } else if meta.has_name(sym::allow) - && let ast::AttrStyle::Inner = attribute.style - { - for meta_list in meta.meta_item_list().unwrap() { - // If it's a tool lint (e.g. clippy::my_clippy_lint) - if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { - if meta_item.path.segments.len() == 1 { - self.lints_allowed.push(meta_list.name_or_empty()) - } else { - self.lints_allowed.push(meta_item.path.segments[1].ident.name); - } - } - } + fn lint_level_minimums(&mut self, tcx: TyCtxt<'tcx>) { + tcx.sess.psess.lints_that_can_emit.with_lock(|vec| { + par_for_each_in(vec, |lint_symbol| { + self.lints_to_emit.with_lock(|lints_to_emit| {lints_to_emit.push(*lint_symbol)}); } - } + ); + }); + tcx.sess.psess.lints_allowed.with_lock(|vec| { + par_for_each_in(vec, |lint_symbol| { + self.lints_allowed.with_lock(|lints_allowed| {lints_allowed.push(*lint_symbol)}); + } + ); + }); + } } +// impl<'tcx> Visitor<'tcx> for LintLevelMinimum<'tcx> { +// type NestedFilter = nested_filter::All; + +// fn nested_visit_map(&mut self) -> Self::Map { +// self.tcx.hir() +// } + +// fn visit_attribute(&mut self, attribute: &'tcx ast::Attribute) { +// if let Some(meta) = attribute.meta() { +// if [sym::warn, sym::deny, sym::forbid, sym::expect] +// .iter() +// .any(|kind| meta.has_name(*kind)) +// { +// // SAFETY: Lint attributes are always a metalist inside a +// // metalist (even with just one lint). +// for meta_list in meta.meta_item_list().unwrap() { +// // If it's a tool lint (e.g. clippy::my_clippy_lint) +// if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { +// if meta_item.path.segments.len() == 1 { +// self.lints_to_emit.push( +// // SAFETY: Lint attributes can only have literals +// meta_list.ident().unwrap().name, +// ); +// } else { +// self.lints_to_emit.push(meta_item.path.segments[1].ident.name); +// } +// } +// } +// // We handle #![allow]s differently, as these remove checking rather than adding. +// } else if meta.has_name(sym::allow) +// && let ast::AttrStyle::Inner = attribute.style +// { +// for meta_list in meta.meta_item_list().unwrap() { +// // If it's a tool lint (e.g. clippy::my_clippy_lint) +// if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { +// if meta_item.path.segments.len() == 1 { +// self.lints_allowed.push(meta_list.name_or_empty()) +// } else { +// self.lints_allowed.push(meta_item.path.segments[1].ident.name); +// } +// } +// } +// } +// } +// } +// } + pub struct LintLevelsBuilder<'s, P> { sess: &'s Session, features: &'s Features, diff --git a/compiler/rustc_parse/src/parser/attr.rs b/compiler/rustc_parse/src/parser/attr.rs index d5d8060d909a1..7d86bc16abdae 100644 --- a/compiler/rustc_parse/src/parser/attr.rs +++ b/compiler/rustc_parse/src/parser/attr.rs @@ -117,7 +117,7 @@ impl<'a> Parser<'a> { ); let lo = self.token.span; // Attributes can't have attributes of their own [Editor's note: not with that attitude] - self.collect_tokens_no_attrs(|this| { + let attribute_result = self.collect_tokens_no_attrs(|this| { assert!(this.eat(&token::Pound), "parse_attribute called in non-attribute position"); let style = @@ -132,9 +132,52 @@ impl<'a> Parser<'a> { if style == ast::AttrStyle::Inner { this.error_on_forbidden_inner_attr(attr_sp, inner_parse_policy); } - Ok(attr::mk_attr_from_item(&self.psess.attr_id_generator, item, None, style, attr_sp)) - }) + }); + + if let Ok(ref attr) = attribute_result && let Some(meta) = attr.meta() { + if let Some(first) = meta.path.segments.first() { + if [sym::warn, sym::deny, sym::forbid] + .iter() + .any(|symbol| first.ident.name == *symbol) + { + for meta_list in attr.meta_item_list().unwrap() { + // If it's a tool lint (e.g. clippy::my_clippy_lint) + if let ast::NestedMetaItem::MetaItem(ref meta_item) = meta_list { + if meta_item.path.segments.len() == 1 { + self.psess + .lints_that_can_emit.with_lock(|lints_that_can_emit| { + lints_that_can_emit + .push(meta_list.ident().unwrap().name); + }) + } else { + self.psess + .lints_that_can_emit.with_lock(|lints_that_can_emit| { + lints_that_can_emit + .push(meta_item.path.segments[1].ident.name); + }) + } + } + } + } else if first.ident.name == sym::allow && attr.style == ast::AttrStyle::Inner { + for meta_list in attr.meta_item_list().unwrap() { + // If it's a tool lint (e.g. clippy::my_clippy_lint) + if let ast::NestedMetaItem::MetaItem(ref meta_item) = meta_list { + if meta_item.path.segments.len() == 1 { + self.psess.lints_allowed.with_lock(|lints_allowed| { + lints_allowed.push(meta_list.name_or_empty()) + }) + } else { + self.psess.lints_allowed.with_lock(|lints_allowed| { + lints_allowed.push(meta_item.path.segments[1].ident.name); + }) + } + } + } + } + } + } + attribute_result } fn annotate_following_item_if_applicable( diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index f6053f43fbd19..4fabe2e5ff712 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -232,6 +232,13 @@ pub struct ParseSess { proc_macro_quoted_spans: AppendOnlyVec, /// Used to generate new `AttrId`s. Every `AttrId` is unique. pub attr_id_generator: AttrIdGenerator, + /// All lints that can emit, even if not emitted (i.e. lints that are mentioned + /// in e.g. #![warn] attributes) + pub lints_that_can_emit: Lock>, + /// The list of lints that cannot emit, maybe because they are allowed + /// globally, or the default level is Allow and they are not activated + /// manually + pub lints_allowed: Lock> } impl ParseSess { @@ -266,6 +273,8 @@ impl ParseSess { assume_incomplete_release: false, proc_macro_quoted_spans: Default::default(), attr_id_generator: AttrIdGenerator::new(), + lints_that_can_emit: Lock::new(Vec::with_capacity(230)), + lints_allowed: Lock::new(Vec::with_capacity(100)), } } diff --git a/src/tools/clippy/tests/ui/no_lints.rs b/src/tools/clippy/tests/ui/no_lints.rs new file mode 100644 index 0000000000000..a8467bb6ef786 --- /dev/null +++ b/src/tools/clippy/tests/ui/no_lints.rs @@ -0,0 +1,3 @@ +#![deny(clippy::all)] + +fn main() {} \ No newline at end of file From bbffe006ddcb8e1a6771b9128a1f190c5af191e7 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Sun, 12 May 2024 22:48:15 +0200 Subject: [PATCH 07/14] format --- compiler/rustc_lint/src/levels.rs | 26 +++++++++++++------------ compiler/rustc_parse/src/parser/attr.rs | 20 +++++++++---------- compiler/rustc_session/src/parse.rs | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index e6af66af817e2..73db0838edf8b 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -15,7 +15,10 @@ use crate::{ }; use rustc_ast as ast; use rustc_ast_pretty::pprust; -use rustc_data_structures::{fx::FxIndexMap, sync::{Lrc, par_for_each_in, Lock}}; +use rustc_data_structures::{ + fx::FxIndexMap, + sync::{par_for_each_in, Lock, Lrc}, +}; use rustc_errors::{Diag, DiagMessage, LintDiagnostic, MultiSpan}; use rustc_feature::{Features, GateIssue}; use rustc_hir as hir; @@ -491,9 +494,11 @@ impl<'tcx> LintLevelMinimum<'tcx> { fn process_opts(&mut self) { for (lint, level) in &self.tcx.sess.opts.lint_opts { if *level == Level::Allow { - self.lints_allowed.with_lock(|lints_allowed|{lints_allowed.push(Symbol::intern(&lint)) }); + self.lints_allowed + .with_lock(|lints_allowed| lints_allowed.push(Symbol::intern(&lint))); } else { - self.lints_to_emit.with_lock(|lints_to_emit| {lints_to_emit.push(Symbol::intern(&lint)) }); + self.lints_to_emit + .with_lock(|lints_to_emit| lints_to_emit.push(Symbol::intern(&lint))); } } } @@ -501,17 +506,14 @@ impl<'tcx> LintLevelMinimum<'tcx> { fn lint_level_minimums(&mut self, tcx: TyCtxt<'tcx>) { tcx.sess.psess.lints_that_can_emit.with_lock(|vec| { par_for_each_in(vec, |lint_symbol| { - self.lints_to_emit.with_lock(|lints_to_emit| {lints_to_emit.push(*lint_symbol)}); - } - ); - }); + self.lints_to_emit.with_lock(|lints_to_emit| lints_to_emit.push(*lint_symbol)); + }); + }); tcx.sess.psess.lints_allowed.with_lock(|vec| { par_for_each_in(vec, |lint_symbol| { - self.lints_allowed.with_lock(|lints_allowed| {lints_allowed.push(*lint_symbol)}); - } - ); - }); - + self.lints_allowed.with_lock(|lints_allowed| lints_allowed.push(*lint_symbol)); + }); + }); } } diff --git a/compiler/rustc_parse/src/parser/attr.rs b/compiler/rustc_parse/src/parser/attr.rs index 7d86bc16abdae..66a5cc1026b21 100644 --- a/compiler/rustc_parse/src/parser/attr.rs +++ b/compiler/rustc_parse/src/parser/attr.rs @@ -135,7 +135,9 @@ impl<'a> Parser<'a> { Ok(attr::mk_attr_from_item(&self.psess.attr_id_generator, item, None, style, attr_sp)) }); - if let Ok(ref attr) = attribute_result && let Some(meta) = attr.meta() { + if let Ok(ref attr) = attribute_result + && let Some(meta) = attr.meta() + { if let Some(first) = meta.path.segments.first() { if [sym::warn, sym::deny, sym::forbid] .iter() @@ -145,17 +147,13 @@ impl<'a> Parser<'a> { // If it's a tool lint (e.g. clippy::my_clippy_lint) if let ast::NestedMetaItem::MetaItem(ref meta_item) = meta_list { if meta_item.path.segments.len() == 1 { - self.psess - .lints_that_can_emit.with_lock(|lints_that_can_emit| { - lints_that_can_emit - .push(meta_list.ident().unwrap().name); - }) + self.psess.lints_that_can_emit.with_lock(|lints_that_can_emit| { + lints_that_can_emit.push(meta_list.ident().unwrap().name); + }) } else { - self.psess - .lints_that_can_emit.with_lock(|lints_that_can_emit| { - lints_that_can_emit - .push(meta_item.path.segments[1].ident.name); - }) + self.psess.lints_that_can_emit.with_lock(|lints_that_can_emit| { + lints_that_can_emit.push(meta_item.path.segments[1].ident.name); + }) } } } diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index 4fabe2e5ff712..34eb3d99ed691 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -238,7 +238,7 @@ pub struct ParseSess { /// The list of lints that cannot emit, maybe because they are allowed /// globally, or the default level is Allow and they are not activated /// manually - pub lints_allowed: Lock> + pub lints_allowed: Lock>, } impl ParseSess { From 94064d4dddd701c86d96a0aa3a91d3cdf21dd911 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Mon, 13 May 2024 15:34:57 +0200 Subject: [PATCH 08/14] Make lint level minimums parallel --- compiler/rustc_lint/src/levels.rs | 37 ++++++++++++++++++------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 73db0838edf8b..d8feacfcd21c0 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -17,7 +17,7 @@ use rustc_ast as ast; use rustc_ast_pretty::pprust; use rustc_data_structures::{ fx::FxIndexMap, - sync::{par_for_each_in, Lock, Lrc}, + sync::{join, par_for_each_in, Lock, Lrc}, }; use rustc_errors::{Diag, DiagMessage, LintDiagnostic, MultiSpan}; use rustc_feature::{Features, GateIssue}; @@ -160,12 +160,9 @@ fn lint_expectations(tcx: TyCtxt<'_>, (): ()) -> Vec<(LintExpectationId, LintExp /// of 1. The lints that will emit (or at least, should run), and 2. /// The lints that are allowed at the crate level and will not emit. pub fn lints_that_can_emit(tcx: TyCtxt<'_>, (): ()) -> Lrc<(Vec, Vec)> { - // builder.add_command_line(); - // builder.add_id(hir::CRATE_HIR_ID); - let mut visitor = LintLevelMinimum::new(tcx); visitor.process_opts(); - visitor.lint_level_minimums(tcx); + visitor.lint_level_minimums(); Lrc::new((visitor.lints_to_emit.into_inner(), visitor.lints_allowed.into_inner())) } @@ -503,17 +500,25 @@ impl<'tcx> LintLevelMinimum<'tcx> { } } - fn lint_level_minimums(&mut self, tcx: TyCtxt<'tcx>) { - tcx.sess.psess.lints_that_can_emit.with_lock(|vec| { - par_for_each_in(vec, |lint_symbol| { - self.lints_to_emit.with_lock(|lints_to_emit| lints_to_emit.push(*lint_symbol)); - }); - }); - tcx.sess.psess.lints_allowed.with_lock(|vec| { - par_for_each_in(vec, |lint_symbol| { - self.lints_allowed.with_lock(|lints_allowed| lints_allowed.push(*lint_symbol)); - }); - }); + fn lint_level_minimums(&mut self) { + join( + || { + self.tcx.sess.psess.lints_that_can_emit.with_lock(|vec| { + par_for_each_in(vec, |lint_symbol| { + self.lints_to_emit + .with_lock(|lints_to_emit| lints_to_emit.push(*lint_symbol)); + }); + }); + }, + || { + self.tcx.sess.psess.lints_allowed.with_lock(|vec| { + par_for_each_in(vec, |lint_symbol| { + self.lints_allowed + .with_lock(|lints_allowed| lints_allowed.push(*lint_symbol)); + }); + }); + }, + ); } } From 0724b8d5e527e57ba91168e494b6d7401baec4fb Mon Sep 17 00:00:00 2001 From: blyxyas Date: Mon, 13 May 2024 21:46:02 +0200 Subject: [PATCH 09/14] Fix author lint + stop using symbols --- compiler/rustc_lint/src/late.rs | 75 ++++++++----------- compiler/rustc_lint/src/levels.rs | 46 +++--------- compiler/rustc_middle/src/query/mod.rs | 2 +- compiler/rustc_session/src/parse.rs | 6 +- src/tools/clippy/clippy_lints/src/lib.rs | 3 +- .../src/utils/{ => internal_lints}/author.rs | 11 ++- .../clippy/clippy_lints/src/utils/mod.rs | 1 - .../tests/{ui => ui-internal}/author.rs | 2 + .../tests/{ui => ui-internal}/author.stdout | 0 .../{ui => ui-internal}/author/blocks.rs | 0 .../{ui => ui-internal}/author/blocks.stdout | 0 .../tests/{ui => ui-internal}/author/call.rs | 0 .../{ui => ui-internal}/author/call.stdout | 0 .../tests/{ui => ui-internal}/author/if.rs | 0 .../{ui => ui-internal}/author/if.stdout | 0 .../{ui => ui-internal}/author/issue_3849.rs | 0 .../author/issue_3849.stdout | 0 .../tests/{ui => ui-internal}/author/loop.rs | 0 .../{ui => ui-internal}/author/loop.stdout | 0 .../author/macro_in_closure.rs | 0 .../author/macro_in_closure.stdout | 0 .../author/macro_in_loop.rs | 0 .../author/macro_in_loop.stdout | 0 .../{ui => ui-internal}/author/matches.rs | 0 .../{ui => ui-internal}/author/matches.stdout | 0 .../{ui => ui-internal}/author/repeat.rs | 0 .../{ui => ui-internal}/author/repeat.stdout | 0 .../{ui => ui-internal}/author/struct.rs | 0 .../{ui => ui-internal}/author/struct.stdout | 0 29 files changed, 57 insertions(+), 89 deletions(-) rename src/tools/clippy/clippy_lints/src/utils/{ => internal_lints}/author.rs (99%) rename src/tools/clippy/tests/{ui => ui-internal}/author.rs (72%) rename src/tools/clippy/tests/{ui => ui-internal}/author.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/blocks.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/blocks.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/call.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/call.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/if.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/if.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/issue_3849.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/issue_3849.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/loop.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/loop.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/macro_in_closure.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/macro_in_closure.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/macro_in_loop.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/macro_in_loop.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/matches.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/matches.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/repeat.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/repeat.stdout (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/struct.rs (100%) rename src/tools/clippy/tests/{ui => ui-internal}/author/struct.stdout (100%) diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index 736762adc3df5..29ea69b123e8b 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -25,7 +25,7 @@ use rustc_middle::hir::nested_filter; use rustc_middle::ty::{self, TyCtxt}; use rustc_session::lint::LintPass; use rustc_session::Session; -use rustc_span::{Span, Symbol}; +use rustc_span::Span; use std::any::Any; use std::cell::Cell; @@ -372,29 +372,33 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>( store.late_module_passes.iter().map(|mk_pass| (mk_pass)(tcx)).collect(); // Filter unused lints - let (lints_to_emit, lints_allowed) = &**tcx.lints_that_can_emit(()); + let lints_allowed = &**tcx.lints_that_can_emit(()); // let lints_to_emit = &lints_that_can_emit.0; // let lints_allowed = &lints_that_can_emit.1; - let passes_lints: Vec<_> = passes.iter().map(|pass| LintPass::get_lints(pass)).collect(); // Now, we'll filtered passes in a way that discards any lint that let mut filtered_passes: Vec>> = passes .into_iter() - .enumerate() - .filter_map(|(i, pass)| { - if passes_lints[i].iter().any(|&lint| { - let symbol = Symbol::intern(lint.name); - // ^^^ Expensive, but more expensive would be having to - // cast every element to &str - - lints_to_emit.contains(&symbol) - || (!lints_allowed.contains(&symbol) - && lint.default_level > crate::Level::Allow) - }) { - Some(pass) - } else { - None - } + .filter(|pass| { + let pass = LintPass::get_lints(pass); + pass.iter().any(|&lint| { + let lint_name = &lint.name.to_lowercase() + // Doing some calculations here to account for those separators + [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..]; + !lints_allowed.contains(&lint_name.to_string()) + && lint.default_level != crate::Level::Allow + }) + // if passes_lints[i].iter().any(|&lint| { + // let symbol = + // &lint.name.to_lowercase() + // // Doing some calculations here to account for those separators + // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] + + // // ^^^ Expensive, but more expensive would be having to + // // cast every element to &str + + // (!lints_allowed.contains(&lint.name) + // && lint.default_level != crate::Level::Allow) }) .collect(); @@ -449,42 +453,25 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { only_module: false, }; - let (lints_to_emit, lints_allowed) = &**tcx.lints_that_can_emit(()); + let lints_allowed = &**tcx.lints_that_can_emit(()); // let lints_to_emit = &lints_that_can_emit.0; // let lints_allowed = &lints_that_can_emit.1; - let passes_lints: Vec<_> = passes.iter().map(|pass| LintPass::get_lints(pass)).collect(); // Now, we'll filtered passes in a way that discards any lint that let mut filtered_passes: Vec>> = passes .into_iter() - .enumerate() - .filter_map(|(i, pass)| { - if passes_lints[i].iter().any(|&lint| { - let symbol = Symbol::intern( - &lint.name.to_lowercase() + .filter(|pass| { + let pass = LintPass::get_lints(pass); + pass.iter().any(|&lint| { + let lint_name = &lint.name.to_lowercase() // Doing some calculations here to account for those separators - [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..], - ); - - // ^^^ Expensive, but more expensive would be having to - // cast every element to &str - - lints_to_emit.contains(&symbol) - || (!lints_allowed.contains(&symbol) - && lint.default_level > crate::Level::Allow) - }) { - Some(pass) - } else { - None - } + [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..]; + !lints_allowed.contains(&lint_name.to_string()) + && lint.default_level != crate::Level::Allow + }) }) .collect(); - // filtered_passes may be empty in case of `#[allow(all)]` - if filtered_passes.is_empty() { - return; - } - let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; late_lint_crate_inner(tcx, context, pass); } diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index d8feacfcd21c0..259047c936342 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -17,7 +17,7 @@ use rustc_ast as ast; use rustc_ast_pretty::pprust; use rustc_data_structures::{ fx::FxIndexMap, - sync::{join, par_for_each_in, Lock, Lrc}, + sync::{par_for_each_in, Lock}, }; use rustc_errors::{Diag, DiagMessage, LintDiagnostic, MultiSpan}; use rustc_feature::{Features, GateIssue}; @@ -159,12 +159,12 @@ fn lint_expectations(tcx: TyCtxt<'_>, (): ()) -> Vec<(LintExpectationId, LintExp /// (and not allowed in the crate) and CLI lints. The returned value is a tuple /// of 1. The lints that will emit (or at least, should run), and 2. /// The lints that are allowed at the crate level and will not emit. -pub fn lints_that_can_emit(tcx: TyCtxt<'_>, (): ()) -> Lrc<(Vec, Vec)> { +pub fn lints_that_can_emit(tcx: TyCtxt<'_>, (): ()) -> Vec { let mut visitor = LintLevelMinimum::new(tcx); visitor.process_opts(); visitor.lint_level_minimums(); - Lrc::new((visitor.lints_to_emit.into_inner(), visitor.lints_allowed.into_inner())) + visitor.lints_allowed.into_inner() } #[instrument(level = "trace", skip(tcx), ret)] @@ -474,51 +474,29 @@ impl<'tcx> Visitor<'tcx> for LintLevelsBuilder<'_, QueryMapExpectationsWrapper<' struct LintLevelMinimum<'tcx> { tcx: TyCtxt<'tcx>, /// The actual list of detected lints. - lints_to_emit: Lock>, - lints_allowed: Lock>, + lints_allowed: Lock>, } impl<'tcx> LintLevelMinimum<'tcx> { pub fn new(tcx: TyCtxt<'tcx>) -> Self { - Self { - tcx, - // That magic number is the current number of lints + some more for possible future lints - lints_to_emit: Lock::new(Vec::with_capacity(230)), - lints_allowed: Lock::new(Vec::with_capacity(100)), - } + Self { tcx, lints_allowed: Lock::new(Vec::with_capacity(100)) } } fn process_opts(&mut self) { for (lint, level) in &self.tcx.sess.opts.lint_opts { if *level == Level::Allow { - self.lints_allowed - .with_lock(|lints_allowed| lints_allowed.push(Symbol::intern(&lint))); - } else { - self.lints_to_emit - .with_lock(|lints_to_emit| lints_to_emit.push(Symbol::intern(&lint))); + self.lints_allowed.with_lock(|lints_allowed| lints_allowed.push(lint.to_string())); } } } fn lint_level_minimums(&mut self) { - join( - || { - self.tcx.sess.psess.lints_that_can_emit.with_lock(|vec| { - par_for_each_in(vec, |lint_symbol| { - self.lints_to_emit - .with_lock(|lints_to_emit| lints_to_emit.push(*lint_symbol)); - }); - }); - }, - || { - self.tcx.sess.psess.lints_allowed.with_lock(|vec| { - par_for_each_in(vec, |lint_symbol| { - self.lints_allowed - .with_lock(|lints_allowed| lints_allowed.push(*lint_symbol)); - }); - }); - }, - ); + self.tcx.sess.psess.lints_allowed.with_lock(|vec| { + par_for_each_in(vec, |lint_symbol| { + self.lints_allowed + .with_lock(|lints_allowed| lints_allowed.push(lint_symbol.to_string())); + }); + }); } } diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 2d0c213f96944..ac210de37aeca 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -431,7 +431,7 @@ rustc_queries! { desc { "computing `#[expect]`ed lints in this crate" } } - query lints_that_can_emit(_: ()) -> &'tcx Lrc<(Vec, Vec)> { + query lints_that_can_emit(_: ()) -> &'tcx Vec { arena_cache desc { "Computing all lints that are explicitly enabled or with a default level great than Allow" } } diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index 34eb3d99ed691..9b5076d52ebde 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -232,13 +232,10 @@ pub struct ParseSess { proc_macro_quoted_spans: AppendOnlyVec, /// Used to generate new `AttrId`s. Every `AttrId` is unique. pub attr_id_generator: AttrIdGenerator, - /// All lints that can emit, even if not emitted (i.e. lints that are mentioned - /// in e.g. #![warn] attributes) - pub lints_that_can_emit: Lock>, /// The list of lints that cannot emit, maybe because they are allowed /// globally, or the default level is Allow and they are not activated /// manually - pub lints_allowed: Lock>, + pub lints_allowed: Lock>, } impl ParseSess { @@ -273,7 +270,6 @@ impl ParseSess { assume_incomplete_release: false, proc_macro_quoted_spans: Default::default(), attr_id_generator: AttrIdGenerator::new(), - lints_that_can_emit: Lock::new(Vec::with_capacity(230)), lints_allowed: Lock::new(Vec::with_capacity(100)), } } diff --git a/src/tools/clippy/clippy_lints/src/lib.rs b/src/tools/clippy/clippy_lints/src/lib.rs index a8bfbbdd9ecab..32e55ed0ca50b 100644 --- a/src/tools/clippy/clippy_lints/src/lib.rs +++ b/src/tools/clippy/clippy_lints/src/lib.rs @@ -640,6 +640,8 @@ pub fn register_lints(store: &mut rustc_lint::LintStore, conf: &'static Conf) { store.register_late_pass(|_| { Box::new(utils::internal_lints::almost_standard_lint_formulation::AlmostStandardFormulation::new()) }); + store.register_late_pass(|_| Box::new(utils::author::Author)); + } store.register_late_pass(move |_| { @@ -658,7 +660,6 @@ pub fn register_lints(store: &mut rustc_lint::LintStore, conf: &'static Conf) { }); store.register_early_pass(|| Box::::default()); store.register_late_pass(|_| Box::new(utils::dump_hir::DumpHir)); - store.register_late_pass(|_| Box::new(utils::author::Author)); store.register_late_pass(move |_| { Box::new(await_holding_invalid::AwaitHolding::new( await_holding_invalid_types.clone(), diff --git a/src/tools/clippy/clippy_lints/src/utils/author.rs b/src/tools/clippy/clippy_lints/src/utils/internal_lints/author.rs similarity index 99% rename from src/tools/clippy/clippy_lints/src/utils/author.rs rename to src/tools/clippy/clippy_lints/src/utils/internal_lints/author.rs index 4448c9ae3df79..1cf75d1e5b6d3 100644 --- a/src/tools/clippy/clippy_lints/src/utils/author.rs +++ b/src/tools/clippy/clippy_lints/src/utils/internal_lints/author.rs @@ -16,7 +16,7 @@ use rustc_span::symbol::{Ident, Symbol}; use std::cell::Cell; use std::fmt::{Display, Formatter, Write as _}; -declare_lint_pass!( +declare_clippy_lint!{ /// ### What it does /// Generates clippy code that detects the offending pattern /// @@ -48,8 +48,13 @@ declare_lint_pass!( /// // report your lint here /// } /// ``` - Author => [] -); + #[clippy::version = "1.0.0"] + pub AUTHOR, + internal, + "The author lint, see documentation at " +}; + +declare_lint_pass! { Author => [AUTHOR] } /// Writes a line of output with indentation added macro_rules! out { diff --git a/src/tools/clippy/clippy_lints/src/utils/mod.rs b/src/tools/clippy/clippy_lints/src/utils/mod.rs index 13e9ead9a57f9..abd10ac024c7d 100644 --- a/src/tools/clippy/clippy_lints/src/utils/mod.rs +++ b/src/tools/clippy/clippy_lints/src/utils/mod.rs @@ -1,4 +1,3 @@ -pub mod author; pub mod dump_hir; pub mod format_args_collector; #[cfg(feature = "internal")] diff --git a/src/tools/clippy/tests/ui/author.rs b/src/tools/clippy/tests/ui-internal/author.rs similarity index 72% rename from src/tools/clippy/tests/ui/author.rs rename to src/tools/clippy/tests/ui-internal/author.rs index 0a1be35689670..eb1f3e3f8704c 100644 --- a/src/tools/clippy/tests/ui/author.rs +++ b/src/tools/clippy/tests/ui-internal/author.rs @@ -1,3 +1,5 @@ +#![warn(clippy::author)] + fn main() { #[clippy::author] let x: char = 0x45 as char; diff --git a/src/tools/clippy/tests/ui/author.stdout b/src/tools/clippy/tests/ui-internal/author.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author.stdout rename to src/tools/clippy/tests/ui-internal/author.stdout diff --git a/src/tools/clippy/tests/ui/author/blocks.rs b/src/tools/clippy/tests/ui-internal/author/blocks.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/blocks.rs rename to src/tools/clippy/tests/ui-internal/author/blocks.rs diff --git a/src/tools/clippy/tests/ui/author/blocks.stdout b/src/tools/clippy/tests/ui-internal/author/blocks.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/blocks.stdout rename to src/tools/clippy/tests/ui-internal/author/blocks.stdout diff --git a/src/tools/clippy/tests/ui/author/call.rs b/src/tools/clippy/tests/ui-internal/author/call.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/call.rs rename to src/tools/clippy/tests/ui-internal/author/call.rs diff --git a/src/tools/clippy/tests/ui/author/call.stdout b/src/tools/clippy/tests/ui-internal/author/call.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/call.stdout rename to src/tools/clippy/tests/ui-internal/author/call.stdout diff --git a/src/tools/clippy/tests/ui/author/if.rs b/src/tools/clippy/tests/ui-internal/author/if.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/if.rs rename to src/tools/clippy/tests/ui-internal/author/if.rs diff --git a/src/tools/clippy/tests/ui/author/if.stdout b/src/tools/clippy/tests/ui-internal/author/if.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/if.stdout rename to src/tools/clippy/tests/ui-internal/author/if.stdout diff --git a/src/tools/clippy/tests/ui/author/issue_3849.rs b/src/tools/clippy/tests/ui-internal/author/issue_3849.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/issue_3849.rs rename to src/tools/clippy/tests/ui-internal/author/issue_3849.rs diff --git a/src/tools/clippy/tests/ui/author/issue_3849.stdout b/src/tools/clippy/tests/ui-internal/author/issue_3849.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/issue_3849.stdout rename to src/tools/clippy/tests/ui-internal/author/issue_3849.stdout diff --git a/src/tools/clippy/tests/ui/author/loop.rs b/src/tools/clippy/tests/ui-internal/author/loop.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/loop.rs rename to src/tools/clippy/tests/ui-internal/author/loop.rs diff --git a/src/tools/clippy/tests/ui/author/loop.stdout b/src/tools/clippy/tests/ui-internal/author/loop.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/loop.stdout rename to src/tools/clippy/tests/ui-internal/author/loop.stdout diff --git a/src/tools/clippy/tests/ui/author/macro_in_closure.rs b/src/tools/clippy/tests/ui-internal/author/macro_in_closure.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/macro_in_closure.rs rename to src/tools/clippy/tests/ui-internal/author/macro_in_closure.rs diff --git a/src/tools/clippy/tests/ui/author/macro_in_closure.stdout b/src/tools/clippy/tests/ui-internal/author/macro_in_closure.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/macro_in_closure.stdout rename to src/tools/clippy/tests/ui-internal/author/macro_in_closure.stdout diff --git a/src/tools/clippy/tests/ui/author/macro_in_loop.rs b/src/tools/clippy/tests/ui-internal/author/macro_in_loop.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/macro_in_loop.rs rename to src/tools/clippy/tests/ui-internal/author/macro_in_loop.rs diff --git a/src/tools/clippy/tests/ui/author/macro_in_loop.stdout b/src/tools/clippy/tests/ui-internal/author/macro_in_loop.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/macro_in_loop.stdout rename to src/tools/clippy/tests/ui-internal/author/macro_in_loop.stdout diff --git a/src/tools/clippy/tests/ui/author/matches.rs b/src/tools/clippy/tests/ui-internal/author/matches.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/matches.rs rename to src/tools/clippy/tests/ui-internal/author/matches.rs diff --git a/src/tools/clippy/tests/ui/author/matches.stdout b/src/tools/clippy/tests/ui-internal/author/matches.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/matches.stdout rename to src/tools/clippy/tests/ui-internal/author/matches.stdout diff --git a/src/tools/clippy/tests/ui/author/repeat.rs b/src/tools/clippy/tests/ui-internal/author/repeat.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/repeat.rs rename to src/tools/clippy/tests/ui-internal/author/repeat.rs diff --git a/src/tools/clippy/tests/ui/author/repeat.stdout b/src/tools/clippy/tests/ui-internal/author/repeat.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/repeat.stdout rename to src/tools/clippy/tests/ui-internal/author/repeat.stdout diff --git a/src/tools/clippy/tests/ui/author/struct.rs b/src/tools/clippy/tests/ui-internal/author/struct.rs similarity index 100% rename from src/tools/clippy/tests/ui/author/struct.rs rename to src/tools/clippy/tests/ui-internal/author/struct.rs diff --git a/src/tools/clippy/tests/ui/author/struct.stdout b/src/tools/clippy/tests/ui-internal/author/struct.stdout similarity index 100% rename from src/tools/clippy/tests/ui/author/struct.stdout rename to src/tools/clippy/tests/ui-internal/author/struct.stdout From abd9dcaa124f4d0297c3d69f46e14cbf784fba7a Mon Sep 17 00:00:00 2001 From: blyxyas Date: Mon, 13 May 2024 22:17:36 +0200 Subject: [PATCH 10/14] Move from symbols to strings + fix things --- compiler/rustc_lint/src/late.rs | 75 +++++++++++++++---------- compiler/rustc_lint/src/levels.rs | 44 +++++++++++---- compiler/rustc_middle/src/query/mod.rs | 2 +- compiler/rustc_parse/src/parser/attr.rs | 8 +-- compiler/rustc_session/src/parse.rs | 4 ++ 5 files changed, 86 insertions(+), 47 deletions(-) diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index 29ea69b123e8b..716745e18c017 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -372,35 +372,37 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>( store.late_module_passes.iter().map(|mk_pass| (mk_pass)(tcx)).collect(); // Filter unused lints - let lints_allowed = &**tcx.lints_that_can_emit(()); + let (lints_to_emit, lints_allowed) = &**tcx.lints_that_can_emit(()); // let lints_to_emit = &lints_that_can_emit.0; // let lints_allowed = &lints_that_can_emit.1; // Now, we'll filtered passes in a way that discards any lint that let mut filtered_passes: Vec>> = passes - .into_iter() - .filter(|pass| { - let pass = LintPass::get_lints(pass); - pass.iter().any(|&lint| { - let lint_name = &lint.name.to_lowercase() + .into_iter() + .filter(|pass| { + let pass = LintPass::get_lints(pass); + pass.iter().any(|&lint| { + let lint_name = + &lint.name.to_lowercase() // Doing some calculations here to account for those separators - [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..]; - !lints_allowed.contains(&lint_name.to_string()) - && lint.default_level != crate::Level::Allow - }) - // if passes_lints[i].iter().any(|&lint| { - // let symbol = - // &lint.name.to_lowercase() - // // Doing some calculations here to account for those separators - // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] - - // // ^^^ Expensive, but more expensive would be having to - // // cast every element to &str - - // (!lints_allowed.contains(&lint.name) - // && lint.default_level != crate::Level::Allow) + [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..].to_string(); + lints_to_emit.contains(&lint_name) || ( !lints_allowed.contains(&lint_name) && lint.default_level != crate::Level::Allow ) + }) + // if passes_lints[i].iter().any(|&lint| { + // let symbol = + // &lint.name.to_lowercase() + // // Doing some calculations here to account for those separators + // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] + + // // ^^^ Expensive, but more expensive would be having to + // // cast every element to &str + + + + // (!lints_allowed.contains(&lint.name) + // && lint.default_level != crate::Level::Allow) }) - .collect(); + .collect(); filtered_passes.push(Box::new(builtin_lints)); @@ -453,9 +455,7 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { only_module: false, }; - let lints_allowed = &**tcx.lints_that_can_emit(()); - // let lints_to_emit = &lints_that_can_emit.0; - // let lints_allowed = &lints_that_can_emit.1; + let (lints_to_emit, lints_allowed) = &**tcx.lints_that_can_emit(()); // Now, we'll filtered passes in a way that discards any lint that let mut filtered_passes: Vec>> = passes @@ -463,14 +463,27 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { .filter(|pass| { let pass = LintPass::get_lints(pass); pass.iter().any(|&lint| { - let lint_name = &lint.name.to_lowercase() + let lint_name = + &lint.name.to_lowercase() // Doing some calculations here to account for those separators - [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..]; - !lints_allowed.contains(&lint_name.to_string()) - && lint.default_level != crate::Level::Allow + [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..].to_string(); + lints_to_emit.contains(&lint_name) || + (!lints_allowed.contains(lint_name) && lint.default_level != crate::Level::Allow) }) - }) - .collect(); + // if passes_lints[i].iter().any(|&lint| { + // let symbol = + // &lint.name.to_lowercase() + // // Doing some calculations here to account for those separators + // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] + + // // ^^^ Expensive, but more expensive would be having to + // // cast every element to &str + + + + // (!lints_allowed.contains(&lint.name) + // && lint.default_level != crate::Level::Allow) +}).collect(); let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; late_lint_crate_inner(tcx, context, pass); diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 259047c936342..7805d57d8016e 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -17,7 +17,7 @@ use rustc_ast as ast; use rustc_ast_pretty::pprust; use rustc_data_structures::{ fx::FxIndexMap, - sync::{par_for_each_in, Lock}, + sync::{join, par_for_each_in, Lock, Lrc}, }; use rustc_errors::{Diag, DiagMessage, LintDiagnostic, MultiSpan}; use rustc_feature::{Features, GateIssue}; @@ -159,12 +159,12 @@ fn lint_expectations(tcx: TyCtxt<'_>, (): ()) -> Vec<(LintExpectationId, LintExp /// (and not allowed in the crate) and CLI lints. The returned value is a tuple /// of 1. The lints that will emit (or at least, should run), and 2. /// The lints that are allowed at the crate level and will not emit. -pub fn lints_that_can_emit(tcx: TyCtxt<'_>, (): ()) -> Vec { +pub fn lints_that_can_emit(tcx: TyCtxt<'_>, (): ()) -> Lrc<(Vec, Vec)> { let mut visitor = LintLevelMinimum::new(tcx); visitor.process_opts(); visitor.lint_level_minimums(); - visitor.lints_allowed.into_inner() + Lrc::new((visitor.lints_to_emit.into_inner(), visitor.lints_allowed.into_inner())) } #[instrument(level = "trace", skip(tcx), ret)] @@ -474,29 +474,51 @@ impl<'tcx> Visitor<'tcx> for LintLevelsBuilder<'_, QueryMapExpectationsWrapper<' struct LintLevelMinimum<'tcx> { tcx: TyCtxt<'tcx>, /// The actual list of detected lints. + lints_to_emit: Lock>, lints_allowed: Lock>, } impl<'tcx> LintLevelMinimum<'tcx> { pub fn new(tcx: TyCtxt<'tcx>) -> Self { - Self { tcx, lints_allowed: Lock::new(Vec::with_capacity(100)) } + Self { + tcx, + // That magic number is the current number of lints + some more for possible future lints + lints_to_emit: Lock::new(Vec::with_capacity(230)), + lints_allowed: Lock::new(Vec::with_capacity(100)), + } } fn process_opts(&mut self) { for (lint, level) in &self.tcx.sess.opts.lint_opts { if *level == Level::Allow { - self.lints_allowed.with_lock(|lints_allowed| lints_allowed.push(lint.to_string())); + self.lints_allowed + .with_lock(|lints_allowed| lints_allowed.push(lint.to_string())); + } else { + self.lints_to_emit + .with_lock(|lints_to_emit| lints_to_emit.push(lint.to_string())); } } } fn lint_level_minimums(&mut self) { - self.tcx.sess.psess.lints_allowed.with_lock(|vec| { - par_for_each_in(vec, |lint_symbol| { - self.lints_allowed - .with_lock(|lints_allowed| lints_allowed.push(lint_symbol.to_string())); - }); - }); + join( + || { + self.tcx.sess.psess.lints_that_can_emit.with_lock(|vec| { + par_for_each_in(vec, |lint_symbol| { + self.lints_to_emit + .with_lock(|lints_to_emit| lints_to_emit.push(lint_symbol.to_string())); + }); + }); + }, + || { + self.tcx.sess.psess.lints_allowed.with_lock(|vec| { + par_for_each_in(vec, |lint_symbol| { + self.lints_allowed + .with_lock(|lints_allowed| lints_allowed.push(lint_symbol.to_string())); + }); + }); + }, + ); } } diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index ac210de37aeca..d93d3e7a00ae7 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -431,7 +431,7 @@ rustc_queries! { desc { "computing `#[expect]`ed lints in this crate" } } - query lints_that_can_emit(_: ()) -> &'tcx Vec { + query lints_that_can_emit(_: ()) -> &'tcx Lrc<(Vec, Vec)> { arena_cache desc { "Computing all lints that are explicitly enabled or with a default level great than Allow" } } diff --git a/compiler/rustc_parse/src/parser/attr.rs b/compiler/rustc_parse/src/parser/attr.rs index 66a5cc1026b21..6fe7f34248669 100644 --- a/compiler/rustc_parse/src/parser/attr.rs +++ b/compiler/rustc_parse/src/parser/attr.rs @@ -148,11 +148,11 @@ impl<'a> Parser<'a> { if let ast::NestedMetaItem::MetaItem(ref meta_item) = meta_list { if meta_item.path.segments.len() == 1 { self.psess.lints_that_can_emit.with_lock(|lints_that_can_emit| { - lints_that_can_emit.push(meta_list.ident().unwrap().name); + lints_that_can_emit.push(meta_list.ident().unwrap().name.as_str().to_string()); }) } else { self.psess.lints_that_can_emit.with_lock(|lints_that_can_emit| { - lints_that_can_emit.push(meta_item.path.segments[1].ident.name); + lints_that_can_emit.push(meta_item.path.segments[1].ident.name.as_str().to_string()); }) } } @@ -163,11 +163,11 @@ impl<'a> Parser<'a> { if let ast::NestedMetaItem::MetaItem(ref meta_item) = meta_list { if meta_item.path.segments.len() == 1 { self.psess.lints_allowed.with_lock(|lints_allowed| { - lints_allowed.push(meta_list.name_or_empty()) + lints_allowed.push(meta_list.name_or_empty().as_str().to_string()) }) } else { self.psess.lints_allowed.with_lock(|lints_allowed| { - lints_allowed.push(meta_item.path.segments[1].ident.name); + lints_allowed.push(meta_item.path.segments[1].ident.name.as_str().to_string()); }) } } diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index 9b5076d52ebde..aae0d2725f949 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -232,6 +232,9 @@ pub struct ParseSess { proc_macro_quoted_spans: AppendOnlyVec, /// Used to generate new `AttrId`s. Every `AttrId` is unique. pub attr_id_generator: AttrIdGenerator, + /// All lints that can emit, even if not emitted (i.e. lints that are mentioned + /// in e.g. #![warn] attributes) + pub lints_that_can_emit: Lock>, /// The list of lints that cannot emit, maybe because they are allowed /// globally, or the default level is Allow and they are not activated /// manually @@ -270,6 +273,7 @@ impl ParseSess { assume_incomplete_release: false, proc_macro_quoted_spans: Default::default(), attr_id_generator: AttrIdGenerator::new(), + lints_that_can_emit: Lock::new(Vec::with_capacity(230)), lints_allowed: Lock::new(Vec::with_capacity(100)), } } From 91084bf37f48753df7d770a5975c38a08df77472 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Mon, 13 May 2024 23:56:43 +0200 Subject: [PATCH 11/14] meow sync --- compiler/rustc_lint/src/late.rs | 69 +++++++++++++------------ compiler/rustc_lint/src/levels.rs | 16 +++--- compiler/rustc_parse/src/parser/attr.rs | 14 +++-- 3 files changed, 53 insertions(+), 46 deletions(-) diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index 716745e18c017..d80fd1239fd38 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -378,31 +378,31 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>( // Now, we'll filtered passes in a way that discards any lint that let mut filtered_passes: Vec>> = passes - .into_iter() - .filter(|pass| { - let pass = LintPass::get_lints(pass); - pass.iter().any(|&lint| { - let lint_name = - &lint.name.to_lowercase() + .into_iter() + .filter(|pass| { + let pass = LintPass::get_lints(pass); + pass.iter().any(|&lint| { + let lint_name = &lint.name.to_lowercase() // Doing some calculations here to account for those separators - [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..].to_string(); - lints_to_emit.contains(&lint_name) || ( !lints_allowed.contains(&lint_name) && lint.default_level != crate::Level::Allow ) - }) - // if passes_lints[i].iter().any(|&lint| { - // let symbol = - // &lint.name.to_lowercase() - // // Doing some calculations here to account for those separators - // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] - - // // ^^^ Expensive, but more expensive would be having to - // // cast every element to &str - - - - // (!lints_allowed.contains(&lint.name) - // && lint.default_level != crate::Level::Allow) + [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] + .to_string(); + lints_to_emit.contains(&lint_name) + || (!lints_allowed.contains(&lint_name) + && lint.default_level != crate::Level::Allow) + }) + // if passes_lints[i].iter().any(|&lint| { + // let symbol = + // &lint.name.to_lowercase() + // // Doing some calculations here to account for those separators + // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] + + // // ^^^ Expensive, but more expensive would be having to + // // cast every element to &str + + // (!lints_allowed.contains(&lint.name) + // && lint.default_level != crate::Level::Allow) }) - .collect(); + .collect(); filtered_passes.push(Box::new(builtin_lints)); @@ -463,15 +463,19 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { .filter(|pass| { let pass = LintPass::get_lints(pass); pass.iter().any(|&lint| { - let lint_name = - &lint.name.to_lowercase() + lint.is_externally_loaded || + { + let lint_name = &lint.name.to_lowercase() // Doing some calculations here to account for those separators - [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..].to_string(); - lints_to_emit.contains(&lint_name) || - (!lints_allowed.contains(lint_name) && lint.default_level != crate::Level::Allow) + [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] + .to_string(); + lints_to_emit.contains(&lint_name) + || (!lints_allowed.contains(lint_name) + && lint.default_level != crate::Level::Allow) + } }) - // if passes_lints[i].iter().any(|&lint| { - // let symbol = + // if passes_lints[i].iter().any(|&lint| { + // let symbol = // &lint.name.to_lowercase() // // Doing some calculations here to account for those separators // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] @@ -479,11 +483,10 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { // // ^^^ Expensive, but more expensive would be having to // // cast every element to &str - - // (!lints_allowed.contains(&lint.name) // && lint.default_level != crate::Level::Allow) -}).collect(); + }) + .collect(); let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; late_lint_crate_inner(tcx, context, pass); diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 7805d57d8016e..64d837225bb6c 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -17,7 +17,7 @@ use rustc_ast as ast; use rustc_ast_pretty::pprust; use rustc_data_structures::{ fx::FxIndexMap, - sync::{join, par_for_each_in, Lock, Lrc}, + sync::{join, Lock, Lrc}, }; use rustc_errors::{Diag, DiagMessage, LintDiagnostic, MultiSpan}; use rustc_feature::{Features, GateIssue}; @@ -491,11 +491,9 @@ impl<'tcx> LintLevelMinimum<'tcx> { fn process_opts(&mut self) { for (lint, level) in &self.tcx.sess.opts.lint_opts { if *level == Level::Allow { - self.lints_allowed - .with_lock(|lints_allowed| lints_allowed.push(lint.to_string())); + self.lints_allowed.with_lock(|lints_allowed| lints_allowed.push(lint.to_string())); } else { - self.lints_to_emit - .with_lock(|lints_to_emit| lints_to_emit.push(lint.to_string())); + self.lints_to_emit.with_lock(|lints_to_emit| lints_to_emit.push(lint.to_string())); } } } @@ -504,18 +502,18 @@ impl<'tcx> LintLevelMinimum<'tcx> { join( || { self.tcx.sess.psess.lints_that_can_emit.with_lock(|vec| { - par_for_each_in(vec, |lint_symbol| { + for lint_symbol in vec { self.lints_to_emit .with_lock(|lints_to_emit| lints_to_emit.push(lint_symbol.to_string())); - }); + } }); }, || { self.tcx.sess.psess.lints_allowed.with_lock(|vec| { - par_for_each_in(vec, |lint_symbol| { + for lint_symbol in vec { self.lints_allowed .with_lock(|lints_allowed| lints_allowed.push(lint_symbol.to_string())); - }); + } }); }, ); diff --git a/compiler/rustc_parse/src/parser/attr.rs b/compiler/rustc_parse/src/parser/attr.rs index 6fe7f34248669..51a314af13905 100644 --- a/compiler/rustc_parse/src/parser/attr.rs +++ b/compiler/rustc_parse/src/parser/attr.rs @@ -148,11 +148,14 @@ impl<'a> Parser<'a> { if let ast::NestedMetaItem::MetaItem(ref meta_item) = meta_list { if meta_item.path.segments.len() == 1 { self.psess.lints_that_can_emit.with_lock(|lints_that_can_emit| { - lints_that_can_emit.push(meta_list.ident().unwrap().name.as_str().to_string()); + lints_that_can_emit + .push(meta_list.ident().unwrap().name.as_str().to_string()); }) } else { self.psess.lints_that_can_emit.with_lock(|lints_that_can_emit| { - lints_that_can_emit.push(meta_item.path.segments[1].ident.name.as_str().to_string()); + lints_that_can_emit.push( + meta_item.path.segments[1].ident.name.as_str().to_string(), + ); }) } } @@ -163,11 +166,14 @@ impl<'a> Parser<'a> { if let ast::NestedMetaItem::MetaItem(ref meta_item) = meta_list { if meta_item.path.segments.len() == 1 { self.psess.lints_allowed.with_lock(|lints_allowed| { - lints_allowed.push(meta_list.name_or_empty().as_str().to_string()) + lints_allowed + .push(meta_list.name_or_empty().as_str().to_string()) }) } else { self.psess.lints_allowed.with_lock(|lints_allowed| { - lints_allowed.push(meta_item.path.segments[1].ident.name.as_str().to_string()); + lints_allowed.push( + meta_item.path.segments[1].ident.name.as_str().to_string(), + ); }) } } From 98407bdfb6f25703ce468191834262ef229e6d73 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Tue, 14 May 2024 12:14:41 +0200 Subject: [PATCH 12/14] Remove crate-checking code --- compiler/rustc_lint/src/late.rs | 37 +- ice-9463-logs | 0 ice-9463-logs1 | 98 + ice-9463-logs2 | 0 ice-9463-logs3 | 186 + ice-9463-logs4 | 7209 +++++++++++++++++++++++++++++++ 6 files changed, 7495 insertions(+), 35 deletions(-) create mode 100644 ice-9463-logs create mode 100644 ice-9463-logs1 create mode 100644 ice-9463-logs2 create mode 100644 ice-9463-logs3 create mode 100644 ice-9463-logs4 diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index d80fd1239fd38..a92994d1af3d5 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -437,7 +437,7 @@ fn late_lint_mod_inner<'tcx, T: LateLintPass<'tcx>>( fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { // Note: `passes` is often empty. - let passes: Vec<_> = + let mut passes: Vec<_> = unerased_lint_store(tcx.sess).late_passes.iter().map(|mk_pass| (mk_pass)(tcx)).collect(); if passes.is_empty() { @@ -455,40 +455,7 @@ fn late_lint_crate<'tcx>(tcx: TyCtxt<'tcx>) { only_module: false, }; - let (lints_to_emit, lints_allowed) = &**tcx.lints_that_can_emit(()); - - // Now, we'll filtered passes in a way that discards any lint that - let mut filtered_passes: Vec>> = passes - .into_iter() - .filter(|pass| { - let pass = LintPass::get_lints(pass); - pass.iter().any(|&lint| { - lint.is_externally_loaded || - { - let lint_name = &lint.name.to_lowercase() - // Doing some calculations here to account for those separators - [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] - .to_string(); - lints_to_emit.contains(&lint_name) - || (!lints_allowed.contains(lint_name) - && lint.default_level != crate::Level::Allow) - } - }) - // if passes_lints[i].iter().any(|&lint| { - // let symbol = - // &lint.name.to_lowercase() - // // Doing some calculations here to account for those separators - // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] - - // // ^^^ Expensive, but more expensive would be having to - // // cast every element to &str - - // (!lints_allowed.contains(&lint.name) - // && lint.default_level != crate::Level::Allow) - }) - .collect(); - - let pass = RuntimeCombinedLateLintPass { passes: &mut filtered_passes[..] }; + let pass = RuntimeCombinedLateLintPass { passes: &mut passes[..] }; late_lint_crate_inner(tcx, context, pass); } diff --git a/ice-9463-logs b/ice-9463-logs new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ice-9463-logs1 b/ice-9463-logs1 new file mode 100644 index 0000000000000..389d94507d00d --- /dev/null +++ b/ice-9463-logs1 @@ -0,0 +1,98 @@ +Building stage0 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) +Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) +Building stage1 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) +Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) +Uplifting library (stage1 -> stage2) +Uplifting rustc (stage1 -> stage3) +Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) +Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) +Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +FAILED TEST: tests/ui/crashes/ice-9463.rs +command: CLIPPY_CONF_DIR="tests" RUSTC_ICE="0" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Dwarnings" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-0cd35ebd41eb72f1.rlib" "--extern=clippy_lints=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-c96f175cccb2d539.rlib" "--extern=clippy_utils=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-fd859a3ecf6f55ed.rlib" "--extern=futures=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-0b71f644e2bc8726.rlib" "--extern=if_chain=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-bac5d36c307485ee.rlib" "--extern=parking_lot=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-859ce241e5f0659a.rlib" "--extern=quote=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-eb8380dd0960802e.rlib" "--extern=regex=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6719df5da40cd34c.rlib" "--extern=serde=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-2030fb584e4f27dc.rlib" "--extern=serde_derive=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5716afe404137539.so" "--extern=syn=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-152f3ca11d174b39.rlib" "--extern=tokio=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-77f2f32d01011546.rlib" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/crashes" "tests/ui/crashes/ice-9463.rs" "--edition" "2021" + +error: actual output differed from expected +Execute `cargo uibless` to update `tests/ui/crashes/ice-9463.stderr` to the actual output +--- tests/ui/crashes/ice-9463.stderr ++++ +-error: this arithmetic operation will overflow +- --> tests/ui/crashes/ice-9463.rs:3:14 +- | +-LL | let _x = -1_i32 >> -1; +- | ^^^^^^^^^^^^ attempt to shift right by `-1_i32`, which would overflow +- | +-note: the lint level is defined here +- --> tests/ui/crashes/ice-9463.rs:1:9 +- | +-LL | #![deny(arithmetic_overflow)] +- | ^^^^^^^^^^^^^^^^^^^ +- +-error: this arithmetic operation will overflow +- --> tests/ui/crashes/ice-9463.rs:5:14 +- | +-LL | let _y = 1u32 >> 10000000000000u32; +- | ^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to shift right by `1316134912_u32`, which would overflow +- + error: literal out of range for `u32` + --> tests/ui/crashes/ice-9463.rs:5:22 +... 5 lines skipped ... + = note: `#[deny(overflowing_literals)]` on by default + +-error: aborting due to 3 previous errors ++error: aborting due to 1 previous error + + + +error: `this arithmetic operation will overflow` not found in diagnostics on line 3 + --> tests/ui/crashes/ice-9463.rs:4:17 + | +4 | //~^ ERROR: this arithmetic operation will overflow + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern + | + +error: `this arithmetic operation will overflow` not found in diagnostics on line 5 + --> tests/ui/crashes/ice-9463.rs:6:17 + | +6 | //~^ ERROR: this arithmetic operation will overflow + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern + | + +full stderr: +error: literal out of range for `u32` + --> tests/ui/crashes/ice-9463.rs:5:22 + | +LL | let _y = 1u32 >> 10000000000000u32; + | ^^^^^^^^^^^^^^^^^ + | + = note: the literal `10000000000000u32` does not fit into the type `u32` whose range is `0..=4294967295` + = note: `#[deny(overflowing_literals)]` on by default + +error: aborting due to 1 previous error + + +full stdout: + + +FAILURES: + tests/ui/crashes/ice-9463.rs + +test result: FAIL. 1 failed; 972 filtered out; + + + +Command did not execute successfully. +Expected success, got: exit status: 101 +Add `-v` to see more details. + diff --git a/ice-9463-logs2 b/ice-9463-logs2 new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/ice-9463-logs3 b/ice-9463-logs3 new file mode 100644 index 0000000000000..b5628c5e9d47e --- /dev/null +++ b/ice-9463-logs3 @@ -0,0 +1,186 @@ +Building stage0 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) +Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) +WARNING: Using a potentially old libstd. This may not behave well. +WARNING: Using a potentially old librustc. This may not behave well. +WARNING: Use `--keep-stage-std` if you want to rebuild the compiler when it changes +Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) +Uplifting library (stage1 -> stage2) +Uplifting rustc (stage1 -> stage3) +Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) +Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) +Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +FAILED TEST: tests/ui/indexing_slicing_index.rs +command: CLIPPY_CONF_DIR="tests" RUSTC_ICE="0" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Dwarnings" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-0cd35ebd41eb72f1.rlib" "--extern=clippy_lints=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-c96f175cccb2d539.rlib" "--extern=clippy_utils=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-fd859a3ecf6f55ed.rlib" "--extern=futures=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-0b71f644e2bc8726.rlib" "--extern=if_chain=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-bac5d36c307485ee.rlib" "--extern=parking_lot=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-859ce241e5f0659a.rlib" "--extern=quote=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-eb8380dd0960802e.rlib" "--extern=regex=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6719df5da40cd34c.rlib" "--extern=serde=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-2030fb584e4f27dc.rlib" "--extern=serde_derive=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5716afe404137539.so" "--extern=syn=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-152f3ca11d174b39.rlib" "--extern=tokio=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-77f2f32d01011546.rlib" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/indexing_slicing_index.rs" "-Zdeduplicate-diagnostics=yes" "--edition" "2021" + +error: actual output differed from expected +Execute `cargo uibless` to update `tests/ui/indexing_slicing_index.stderr` to the actual output +--- tests/ui/indexing_slicing_index.stderr ++++ + error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:15:20 +... 7 lines skipped ... + = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` + +-error[E0080]: evaluation of `main::{constant#3}` failed +- --> tests/ui/indexing_slicing_index.rs:47:14 +- | +-LL | const { &ARR[idx4()] }; +- | ^^^^^^^^^^^ index out of bounds: the length is 2 but the index is 4 +- +-note: erroneous constant encountered +- --> tests/ui/indexing_slicing_index.rs:47:5 +- | +-LL | const { &ARR[idx4()] }; +- | ^^^^^^^^^^^^^^^^^^^^^^ +- + error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:28:5 +... 95 lines skipped ... + | ^^^^ + +-error: aborting due to 15 previous errors ++error: aborting due to 14 previous errors + +-For more information about this error, try `rustc --explain E0080`. + + +full stderr: +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:15:20 + | +LL | const REF: &i32 = &ARR[idx()]; // This should be linted, since `suppress-restriction-lint-in-const` default is false. + | ^^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + = note: the suggestion might not be applicable in constant blocks + = note: `-D clippy::indexing-slicing` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:28:5 + | +LL | x[index]; + | ^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:31:5 + | +LL | x[4]; + | ^^^^ + | + = note: `-D clippy::out-of-bounds-indexing` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::out_of_bounds_indexing)]` + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:33:5 + | +LL | x[1 << 3]; + | ^^^^^^^^^ + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:44:14 + | +LL | const { &ARR[idx()] }; + | ^^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + = note: the suggestion might not be applicable in constant blocks + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:47:14 + | +LL | const { &ARR[idx4()] }; + | ^^^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + = note: the suggestion might not be applicable in constant blocks + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:54:5 + | +LL | y[4]; + | ^^^^ + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:57:5 + | +LL | v[0]; + | ^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:59:5 + | +LL | v[10]; + | ^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:61:5 + | +LL | v[1 << 3]; + | ^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:69:5 + | +LL | x[N]; + | ^^^^ + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:72:5 + | +LL | v[N]; + | ^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:74:5 + | +LL | v[M]; + | ^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:78:13 + | +LL | let _ = x[4]; + | ^^^^ + +error: aborting due to 14 previous errors + + +full stdout: + + +FAILURES: + tests/ui/indexing_slicing_index.rs + +test result: FAIL. 1 failed; 972 filtered out; + + + +Command did not execute successfully. +Expected success, got: exit status: 101 +Add `-v` to see more details. + diff --git a/ice-9463-logs4 b/ice-9463-logs4 new file mode 100644 index 0000000000000..61c6bc77fe26f --- /dev/null +++ b/ice-9463-logs4 @@ -0,0 +1,7209 @@ +Building stage0 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) +Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) +Building stage1 library artifacts (x86_64-unknown-linux-gnu) +Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) +Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) +Uplifting library (stage1 -> stage2) +Uplifting rustc (stage1 -> stage3) +Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) +Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) +Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +running 1 test +. +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + +FAILED TEST: tests/ui/indexing_slicing_index.rs +command: CLIPPY_CONF_DIR="tests" RUSTC_ICE="0" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Dwarnings" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-0cd35ebd41eb72f1.rlib" "--extern=clippy_lints=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-c96f175cccb2d539.rlib" "--extern=clippy_utils=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-fd859a3ecf6f55ed.rlib" "--extern=futures=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-0b71f644e2bc8726.rlib" "--extern=if_chain=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-bac5d36c307485ee.rlib" "--extern=parking_lot=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-859ce241e5f0659a.rlib" "--extern=quote=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-eb8380dd0960802e.rlib" "--extern=regex=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6719df5da40cd34c.rlib" "--extern=serde=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-2030fb584e4f27dc.rlib" "--extern=serde_derive=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5716afe404137539.so" "--extern=syn=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-152f3ca11d174b39.rlib" "--extern=tokio=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-77f2f32d01011546.rlib" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/indexing_slicing_index.rs" "-Zdeduplicate-diagnostics=yes" "--edition" "2021" + +error: actual output differed from expected +Execute `cargo uibless` to update `tests/ui/indexing_slicing_index.stderr` to the actual output +--- tests/ui/indexing_slicing_index.stderr ++++ ++[compiler/rustc_lint/src/late.rs:460:5] "FDDDDDDDDDDDDDDDDDDDDDDDd" = "FDDDDDDDDDDDDDDDDDDDDDDDd" ++[compiler/rustc_lint/src/late.rs:461:5] &lints_to_emit = [ ++ "warnings", ++ "indexing_slicing", ++ "out_of_bounds_indexing", ++] ++[compiler/rustc_lint/src/late.rs:461:5] lints_allowed = [ ++ "unused", ++ "internal_features", ++ "unconditional_panic", ++ "no_effect", ++ "unnecessary_operation", ++ "useless_vec", ++] ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ARITHMETIC_SIDE_EFFECTS", ++ default_level: Allow, ++ desc: "any arithmetic expression that can cause side effects like overflows or panics", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::AWAIT_HOLDING_LOCK", ++ default_level: Warn, ++ desc: "inside an async function, holding a `MutexGuard` while calling `await`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SERDE_API_MISUSE", ++ default_level: Deny, ++ desc: "various things that will negatively affect your serde experience", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BOX_COLLECTION", ++ default_level: Warn, ++ desc: "usage of `Box>`, vector elements are already on the heap", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NONMINIMAL_BOOL", ++ default_level: Warn, ++ desc: "boolean expressions that can be written more concisely", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT", ++ default_level: Deny, ++ desc: "C-like enums that are `repr(isize/usize)` and have values that don't fit into an `i32`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXCESSIVE_PRECISION", ++ default_level: Warn, ++ desc: "excessive precision for float literal", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PTR_ARG", ++ default_level: Warn, ++ desc: "fn arguments of the type `&Vec<...>` or `&String`, suggesting to use `&[...]` or `&str` instead, respectively", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_BOOL", ++ default_level: Warn, ++ desc: "if-statements with plain booleans in the then- and else-clause, e.g., `if p { true } else { false }`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BOOL_COMPARISON", ++ default_level: Warn, ++ desc: "comparing a variable to a boolean, e.g., `if x == true` or `if x != true`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_FOR_EACH", ++ default_level: Allow, ++ desc: "using `for_each` where a `for` loop would be simpler", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TOPLEVEL_REF_ARG", ++ default_level: Warn, ++ desc: "an entire binding declared as `ref`, in a function argument or a `let` statement", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_CLOSURE", ++ default_level: Warn, ++ desc: "redundant closures, i.e., `|a| foo(a)` (which can be written as just `foo`)", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MUT_MUT", ++ default_level: Allow, ++ desc: "usage of double-mut refs, e.g., `&mut &mut ...`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_MUT_PASSED", ++ default_level: Warn, ++ desc: "an argument passed as a mutable reference although the callee only demands an immutable reference", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SIGNIFICANT_DROP_TIGHTENING", ++ default_level: Allow, ++ desc: "Searches for elements marked with `#[clippy::has_significant_drop]` that could be early dropped but are in fact dropped at the end of their scopes", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LEN_ZERO", ++ default_level: Warn, ++ desc: "checking `.len() == 0` or `.len() > 0` (or similar) when `.is_empty()` could be used instead", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON", ++ default_level: Allow, ++ desc: "ensures that all `allow` and `expect` attributes have a reason", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INLINE_ALWAYS", ++ default_level: Allow, ++ desc: "use of `#[inline(always)]`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DEPRECATED_SEMVER", ++ default_level: Deny, ++ desc: "use of `#[deprecated(since = \"x\")]` where x is not semver", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BLOCKS_IN_CONDITIONS", ++ default_level: Warn, ++ desc: "useless or complex blocks that can be eliminated in conditions", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INVISIBLE_CHARACTERS", ++ default_level: Deny, ++ desc: "using an invisible character in a string literal, which is confusing", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNINIT_VEC", ++ default_level: Deny, ++ desc: "Vec with uninitialized data", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNIT_RETURN_EXPECTING_ORD", ++ default_level: Deny, ++ desc: "fn arguments of type Fn(...) -> Ord returning the unit type ().", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRING_ADD", ++ default_level: Allow, ++ desc: "using `x + ..` where x is a `String` instead of `push_str()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRING_ADD_ASSIGN", ++ default_level: Allow, ++ desc: "using `x = x + ..` where x is a `String` instead of `push_str()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRING_SLICE", ++ default_level: Allow, ++ desc: "slicing a string", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IMPLICIT_RETURN", ++ default_level: Allow, ++ desc: "use a return statement like `return expr` instead of an expression", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IMPLICIT_SATURATING_SUB", ++ default_level: Warn, ++ desc: "Perform saturating subtraction instead of implicitly checking lower bound of data type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DEFAULT_NUMERIC_FALLBACK", ++ default_level: Allow, ++ desc: "usage of unconstrained numeric literals which may cause default numeric fallback.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR", ++ default_level: Allow, ++ desc: "the order of the field init shorthand is inconsistent with the order in the struct definition", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NON_OCTAL_UNIX_PERMISSIONS", ++ default_level: Deny, ++ desc: "use of non-octal value to set unix file permissions, which will be translated into octal", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::APPROX_CONSTANT", ++ default_level: Deny, ++ desc: "the approximate of a known float constant (in `std::fXX::consts`)", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNWRAP_USED", ++ default_level: Allow, ++ desc: "using `.unwrap()` on `Result` or `Option`, which should at least get a better message using `expect()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXPECT_USED", ++ default_level: Allow, ++ desc: "using `.expect()` on `Result` or `Option`, which might be better handled", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SHOULD_IMPLEMENT_TRAIT", ++ default_level: Warn, ++ desc: "defining a method that should be implementing a std trait", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SINGLE_MATCH", ++ default_level: Warn, ++ desc: "a `match` statement with a single nontrivial arm (i.e., where the other arm is `_ => {}`) instead of `if let`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_NON_EXHAUSTIVE", ++ default_level: Warn, ++ desc: "manual implementations of the non-exhaustive pattern can be simplified using #[non_exhaustive]", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_STRIP", ++ default_level: Warn, ++ desc: "suggests using `strip_{prefix,suffix}` over `str::{starts,ends}_with` and slicing", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CHECKED_CONVERSIONS", ++ default_level: Allow, ++ desc: "`try_from` could replace manual bounds checking when casting", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MEM_REPLACE_OPTION_WITH_NONE", ++ default_level: Warn, ++ desc: "replacing an `Option` with `None` instead of `take()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::RANGE_PLUS_ONE", ++ default_level: Allow, ++ desc: "`x..(y+1)` reads better as `x..=y`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::RANGE_MINUS_ONE", ++ default_level: Allow, ++ desc: "`x..=(y-1)` reads better as `x..y`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REVERSED_EMPTY_RANGES", ++ default_level: Deny, ++ desc: "reversing the limits of range expressions, resulting in empty ranges", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FROM_OVER_INTO", ++ default_level: Warn, ++ desc: "Warns on implementations of `Into<..>` to use `From<..>`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::USE_SELF", ++ default_level: Allow, ++ desc: "unnecessary structure name repetition whereas `Self` is applicable", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_CONST_FOR_FN", ++ default_level: Allow, ++ desc: "Lint functions definitions that could be made `const fn`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_QUESTION_MARK", ++ default_level: Warn, ++ desc: "Suggest `value.inner_option` instead of `Some(value.inner_option?)`. The same goes for `Result`.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CAST_PRECISION_LOSS", ++ default_level: Allow, ++ desc: "casts that cause loss of precision, e.g., `x as f32` where `x: u64`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CAST_SIGN_LOSS", ++ default_level: Allow, ++ desc: "casts from signed types to unsigned types, e.g., `x as u32` where `x: i32`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CAST_POSSIBLE_TRUNCATION", ++ default_level: Allow, ++ desc: "casts that may cause truncation of the value, e.g., `x as u8` where `x: u32`, or `x as i32` where `x: f32`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CAST_POSSIBLE_WRAP", ++ default_level: Allow, ++ desc: "casts that may cause wrapping around the value, e.g., `x as i32` where `x: u32` and `x > i32::MAX`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CAST_LOSSLESS", ++ default_level: Allow, ++ desc: "casts using `as` that are known to be lossless, e.g., `x as u64` where `x: u8`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CAST_PTR_ALIGNMENT", ++ default_level: Allow, ++ desc: "cast from a pointer to a more-strictly-aligned pointer", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CAST_SLICE_DIFFERENT_SIZES", ++ default_level: Deny, ++ desc: "casting using `as` between raw pointers to slices of types with different sizes", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SIZE_OF_IN_ELEMENT_COUNT", ++ default_level: Deny, ++ desc: "using `size_of::` or `size_of_val::` where a count of elements of `T` is expected", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SAME_NAME_METHOD", ++ default_level: Allow, ++ desc: "two method with same name", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INDEX_REFUTABLE_SLICE", ++ default_level: Allow, ++ desc: "avoid indexing on slices which could be destructed", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SHADOW_SAME", ++ default_level: Allow, ++ desc: "rebinding a name to itself, e.g., `let mut x = &mut x`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SHADOW_REUSE", ++ default_level: Allow, ++ desc: "rebinding a name to an expression that re-uses the original value, e.g., `let x = x + 1`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SHADOW_UNRELATED", ++ default_level: Allow, ++ desc: "rebinding a name without even using the original value", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LET_UNIT_VALUE", ++ default_level: Warn, ++ desc: "creating a `let` binding to a value of unit type, which usually can't be used afterwards", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_MEMCPY", ++ default_level: Warn, ++ desc: "manually copying items between slices", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MAIN_RECURSION", ++ default_level: Warn, ++ desc: "recursion using the entrypoint", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_LIFETIMES", ++ default_level: Warn, ++ desc: "using explicit lifetimes for references in function arguments when elision rules would allow omitting them", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MAP_ENTRY", ++ default_level: Warn, ++ desc: "use of `contains_key` followed by `insert` on a `HashMap` or `BTreeMap`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MIN_MAX", ++ default_level: Deny, ++ desc: "`min(_, max(_, _))` (or vice versa) with bounds clamping the result to a constant", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ZERO_DIVIDED_BY_ZERO", ++ default_level: Warn, ++ desc: "usage of `0.0 / 0.0` to obtain NaN instead of `f32::NAN` or `f64::NAN`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MUTEX_ATOMIC", ++ default_level: Allow, ++ desc: "using a mutex where an atomic value could be used instead.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MUTEX_INTEGER", ++ default_level: Allow, ++ desc: "using a mutex for an integer type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_UPDATE", ++ default_level: Warn, ++ desc: "using `Foo { ..base }` when there are no missing fields", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_BORROWED_REFERENCE", ++ default_level: Warn, ++ desc: "destructuring a reference and borrowing the inner value", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BORROW_DEREF_REF", ++ default_level: Warn, ++ desc: "deref on an immutable reference returns the same type as itself", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NO_EFFECT", ++ default_level: Warn, ++ desc: "statements with no effect", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_OPERATION", ++ default_level: Warn, ++ desc: "outer expressions with no effect", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NO_EFFECT_UNDERSCORE_BINDING", ++ default_level: Allow, ++ desc: "binding to `_` prefixed variable with no side-effect", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TEMPORARY_ASSIGNMENT", ++ default_level: Warn, ++ desc: "assignments to temporaries", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CROSSPOINTER_TRANSMUTE", ++ default_level: Warn, ++ desc: "transmutes that have to or from types that are a pointer to the other", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::COGNITIVE_COMPLEXITY", ++ default_level: Allow, ++ desc: "functions that should be split up into multiple functions", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BOXED_LOCAL", ++ default_level: Warn, ++ desc: "using `Box` where unnecessary", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::USELESS_VEC", ++ default_level: Warn, ++ desc: "useless `vec!`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNIMPLEMENTED", ++ default_level: Allow, ++ desc: "`unimplemented!` should not be present in production code", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNREACHABLE", ++ default_level: Allow, ++ desc: "usage of the `unreachable!` macro", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TODO", ++ default_level: Allow, ++ desc: "`todo!` should not be present in production code", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PANIC", ++ default_level: Allow, ++ desc: "usage of the `panic!` macro", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRING_LIT_AS_BYTES", ++ default_level: Allow, ++ desc: "calling `as_bytes` on a string literal instead of using a byte string literal", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRING_FROM_UTF8_AS_BYTES", ++ default_level: Warn, ++ desc: "casting string slices to byte slices and back", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXPL_IMPL_CLONE_ON_COPY", ++ default_level: Allow, ++ desc: "implementing `Clone` explicitly on `Copy` types", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DERIVED_HASH_WITH_MANUAL_EQ", ++ default_level: Deny, ++ desc: "deriving `Hash` but implementing `PartialEq` explicitly", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DERIVABLE_IMPLS", ++ default_level: Warn, ++ desc: "manual implementation of the `Default` trait which is equal to a derive", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DROP_NON_DROP", ++ default_level: Warn, ++ desc: "call to `std::mem::drop` with a value which does not implement `Drop`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EMPTY_ENUM", ++ default_level: Allow, ++ desc: "enum with no variants", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INVALID_UPCAST_COMPARISONS", ++ default_level: Allow, ++ desc: "a comparison involving an upcast which is always true or false", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INVALID_REGEX", ++ default_level: Deny, ++ desc: "invalid regular expressions", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IFS_SAME_COND", ++ default_level: Deny, ++ desc: "consecutive `if`s with the same condition", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::COPY_ITERATOR", ++ default_level: Allow, ++ desc: "implementing `Iterator` on a `Copy` type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::USELESS_FORMAT", ++ default_level: Warn, ++ desc: "useless use of `format!`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_SWAP", ++ default_level: Warn, ++ desc: "manual swap of two variables", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::OVERFLOW_CHECK_CONDITIONAL", ++ default_level: Warn, ++ desc: "overflow checks inspired by C which are likely to panic", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEW_WITHOUT_DEFAULT", ++ default_level: Warn, ++ desc: "`pub fn new() -> Self` method without `Default` implementation", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DISALLOWED_NAMES", ++ default_level: Warn, ++ desc: "usage of a disallowed/placeholder name", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TOO_MANY_ARGUMENTS", ++ default_level: Warn, ++ desc: "functions with too many arguments", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DOC_LINK_WITH_QUOTES", ++ default_level: Allow, ++ desc: "possible typo for an intra-doc link", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DOC_MARKDOWN", ++ default_level: Allow, ++ desc: "presence of `_`, `::` or camel-case outside backticks in documentation", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_SAFETY_DOC", ++ default_level: Warn, ++ desc: "`pub unsafe fn` without `# Safety` docs", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEG_MULTIPLY", ++ default_level: Warn, ++ desc: "multiplying integers by `-1`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::USELESS_LET_IF_SEQ", ++ default_level: Allow, ++ desc: "unidiomatic `let mut` declaration followed by initialization in `if`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MIXED_READ_WRITE_IN_EXPRESSION", ++ default_level: Allow, ++ desc: "whether a variable read occurs before a write depends on sub-expression evaluation order", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DIVERGING_SUB_EXPRESSION", ++ default_level: Warn, ++ desc: "whether an expression contains a diverging sub expression", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS", ++ default_level: Allow, ++ desc: "detects missing documentation for private members", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS", ++ default_level: Allow, ++ desc: "detects missing `#[inline]` attribute for public callables (functions, trait methods, methods...)", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXHAUSTIVE_ENUMS", ++ default_level: Allow, ++ desc: "detects exported enums that have not been marked #[non_exhaustive]", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXHAUSTIVE_STRUCTS", ++ default_level: Allow, ++ desc: "detects exported structs that have not been marked #[non_exhaustive]", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MATCH_RESULT_OK", ++ default_level: Warn, ++ desc: "usage of `ok()` in `let Some(pat)` statements is unnecessary, match on `Ok(pat)` instead", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PARTIALEQ_NE_IMPL", ++ default_level: Warn, ++ desc: "re-implementing `PartialEq::ne`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNUSED_IO_AMOUNT", ++ default_level: Deny, ++ desc: "unused written/read amount", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LARGE_ENUM_VARIANT", ++ default_level: Warn, ++ desc: "large size difference between variants on an enum", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXPLICIT_WRITE", ++ default_level: Warn, ++ desc: "using the `write!()` family of functions instead of the `print!()` family of functions, when using the latter would work", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_PASS_BY_VALUE", ++ default_level: Allow, ++ desc: "functions taking arguments by value, but not consuming them in its body", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TRIVIALLY_COPY_PASS_BY_REF", ++ default_level: Allow, ++ desc: "functions taking small copyable arguments by reference", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LARGE_TYPES_PASSED_BY_VALUE", ++ default_level: Allow, ++ desc: "functions taking large arguments by value", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REF_OPTION_REF", ++ default_level: Allow, ++ desc: "use `Option<&T>` instead of `&Option<&T>`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INFINITE_ITER", ++ default_level: Deny, ++ desc: "infinite iteration", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INLINE_FN_WITHOUT_BODY", ++ default_level: Deny, ++ desc: "use of `#[inline]` on trait methods without bodies", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::USELESS_CONVERSION", ++ default_level: Warn, ++ desc: "calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` which perform useless conversions to the same type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IMPLICIT_HASHER", ++ default_level: Allow, ++ desc: "missing generalization over different hashers", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FALLIBLE_IMPL_FROM", ++ default_level: Allow, ++ desc: "Warn on impls of `From<..>` that contain `panic!()` or `unwrap()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::QUESTION_MARK", ++ default_level: Warn, ++ desc: "checks for expressions that could be replaced by the question mark operator", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::QUESTION_MARK_USED", ++ default_level: Allow, ++ desc: "complains if the question mark operator is used", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SUSPICIOUS_ARITHMETIC_IMPL", ++ default_level: Warn, ++ desc: "suspicious use of operators in impl of arithmetic trait", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::OPTION_MAP_UNIT_FN", ++ default_level: Warn, ++ desc: "using `option.map(f)`, where `f` is a function or closure that returns `()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MULTIPLE_INHERENT_IMPL", ++ default_level: Allow, ++ desc: "Multiple inherent impl that could be grouped", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEG_CMP_OP_ON_PARTIAL_ORD", ++ default_level: Warn, ++ desc: "The use of negated comparison operators on partially ordered types may produce confusing code.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PANICKING_UNWRAP", ++ default_level: Deny, ++ desc: "checks for calls of `unwrap[_err]()` that will always fail", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INDEXING_SLICING", ++ default_level: Allow, ++ desc: "indexing/slicing usage", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DECLARE_INTERIOR_MUTABLE_CONST", ++ default_level: Warn, ++ desc: "declaring `const` with interior mutability", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PTR_OFFSET_WITH_CAST", ++ default_level: Warn, ++ desc: "unneeded pointer offset cast", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_CLONE", ++ default_level: Allow, ++ desc: "`clone()` of an owned value that is going to be dropped immediately", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SLOW_VECTOR_INITIALIZATION", ++ default_level: Warn, ++ desc: "slow vector initialization", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_WRAPS", ++ default_level: Allow, ++ desc: "functions that only return `Ok` or `Some`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ASSERTIONS_ON_CONSTANTS", ++ default_level: Warn, ++ desc: "`assert!(true)` / `assert!(false)` will be optimized out by the compiler, and should probably be replaced by a `panic!()` or `unreachable!()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ASSERTIONS_ON_RESULT_STATES", ++ default_level: Allow, ++ desc: "`assert!(r.is_ok())`/`assert!(r.is_err())` gives worse error message than directly calling `r.unwrap()`/`r.unwrap_err()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INHERENT_TO_STRING", ++ default_level: Warn, ++ desc: "type implements inherent method `to_string()`, but should instead implement the `Display` trait", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TYPE_REPETITION_IN_BOUNDS", ++ default_level: Allow, ++ desc: "types are repeated unnecessarily in trait bounds, use `+` instead of using `T: _, T: _`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TRAIT_DUPLICATION_IN_BOUNDS", ++ default_level: Allow, ++ desc: "check if the same trait bounds are specified more than once during a generic declaration", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::COMPARISON_CHAIN", ++ default_level: Warn, ++ desc: "`if`s that can be rewritten with `match` and `cmp`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MUTABLE_KEY_TYPE", ++ default_level: Warn, ++ desc: "Check for mutable `Map`/`Set` key type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::RECURSIVE_FORMAT_IMPL", ++ default_level: Deny, ++ desc: "Format trait method called while implementing the same Format trait", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_CLOSURE_CALL", ++ default_level: Warn, ++ desc: "throwaway closures called in the expression they are defined", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LET_AND_RETURN", ++ default_level: Warn, ++ desc: "creating a let-binding and then immediately returning it like `let x = expr; x` at the end of a block", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ITEMS_AFTER_STATEMENTS", ++ default_level: Allow, ++ desc: "blocks where an item comes after a statement", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS", ++ default_level: Warn, ++ desc: "needless parenthesis on range literals can be removed", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CREATE_DIR", ++ default_level: Allow, ++ desc: "calling `std::fs::create_dir` instead of `std::fs::create_dir_all`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ENUM_VARIANT_NAMES", ++ default_level: Warn, ++ desc: "enums where all variants share a prefix/postfix", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UPPER_CASE_ACRONYMS", ++ default_level: Warn, ++ desc: "capitalized acronyms are against the naming convention", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DEFAULT_TRAIT_ACCESS", ++ default_level: Allow, ++ desc: "checks for literal calls to `Default::default()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FIELD_REASSIGN_WITH_DEFAULT", ++ default_level: Warn, ++ desc: "binding initialized with Default should have its fields set in the initializer", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNUSED_SELF", ++ default_level: Allow, ++ desc: "methods that contain a `self` argument but don't use it", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DEBUG_ASSERT_WITH_MUT_CALL", ++ default_level: Allow, ++ desc: "mutable arguments in `debug_assert{,_ne,_eq}!`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXIT", ++ default_level: Allow, ++ desc: "detects `std::process::exit` calls", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TO_DIGIT_IS_SOME", ++ default_level: Warn, ++ desc: "`char.is_digit()` is clearer", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LARGE_STACK_ARRAYS", ++ default_level: Allow, ++ desc: "allocating large arrays on stack may cause stack overflow", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LARGE_CONST_ARRAYS", ++ default_level: Warn, ++ desc: "large non-scalar const array may cause performance overhead", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IMPRECISE_FLOPS", ++ default_level: Allow, ++ desc: "usage of imprecise floating point operations", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SUBOPTIMAL_FLOPS", ++ default_level: Allow, ++ desc: "usage of sub-optimal floating point operations", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::AS_CONVERSIONS", ++ default_level: Allow, ++ desc: "using a potentially dangerous silent `as` conversion", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LET_UNDERSCORE_MUST_USE", ++ default_level: Allow, ++ desc: "non-binding `let` on a `#[must_use]` expression", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LET_UNDERSCORE_LOCK", ++ default_level: Deny, ++ desc: "non-binding `let` on a synchronization lock", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRUCT_EXCESSIVE_BOOLS", ++ default_level: Allow, ++ desc: "using too many bools in a struct", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FN_PARAMS_EXCESSIVE_BOOLS", ++ default_level: Allow, ++ desc: "using too many bools in function parameters", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ENUM_GLOB_USE", ++ default_level: Allow, ++ desc: "use items that import all variants of an enum", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::WILDCARD_IMPORTS", ++ default_level: Allow, ++ desc: "lint `use _::*` statements", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_PUB_CRATE", ++ default_level: Allow, ++ desc: "Using `pub(crate)` visibility on items that are not crate visible due to the visibility of the module that contains them.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FN_ADDRESS_COMPARISONS", ++ default_level: Deny, ++ desc: "comparison with an address of a function item", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXPLICIT_DEREF_METHODS", ++ default_level: Allow, ++ desc: "Explicit use of deref or deref_mut method while not in a method chain.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_BORROW", ++ default_level: Warn, ++ desc: "taking a reference that is going to be automatically dereferenced", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::OPTION_IF_LET_ELSE", ++ default_level: Allow, ++ desc: "reimplementation of Option::map_or", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FUTURE_NOT_SEND", ++ default_level: Allow, ++ desc: "public Futures must be Send", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LARGE_FUTURES", ++ default_level: Allow, ++ desc: "large future may lead to unexpected stack overflows", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IF_LET_MUTEX", ++ default_level: Deny, ++ desc: "locking a `Mutex` in an `if let` block can cause deadlocks", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IF_NOT_ELSE", ++ default_level: Allow, ++ desc: "`if` branches that could be swapped so no negation operation is necessary on the condition", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EQUATABLE_IF_LET", ++ default_level: Allow, ++ desc: "using pattern matching instead of equality", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_ASYNC_FN", ++ default_level: Warn, ++ desc: "manual implementations of `async` functions can be simplified using the dedicated syntax", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PANIC_IN_RESULT_FN", ++ default_level: Allow, ++ desc: "functions of type `Result<..>` that contain `panic!()` or assertion", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MACRO_USE_IMPORTS", ++ default_level: Allow, ++ desc: "#[macro_use] is no longer needed", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PATTERN_TYPE_MISMATCH", ++ default_level: Allow, ++ desc: "type of pattern does not match the expression type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNWRAP_IN_RESULT", ++ default_level: Allow, ++ desc: "functions of type `Result<..>` or `Option`<...> that contain `expect()` or `unwrap()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SEMICOLON_IF_NOTHING_RETURNED", ++ default_level: Allow, ++ desc: "add a semicolon if nothing is returned", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ASYNC_YIELDS_ASYNC", ++ default_level: Deny, ++ desc: "async blocks that return a type that can be awaited", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DISALLOWED_MACROS", ++ default_level: Warn, ++ desc: "use of a disallowed macro", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DISALLOWED_METHODS", ++ default_level: Warn, ++ desc: "use of a disallowed method call", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EMPTY_DROP", ++ default_level: Allow, ++ desc: "empty `Drop` implementations", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STR_TO_STRING", ++ default_level: Allow, ++ desc: "using `to_string()` on a `&str`, which should be `to_owned()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRING_TO_STRING", ++ default_level: Allow, ++ desc: "using `to_string()` on a `String`, which should be `clone()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ZERO_SIZED_MAP_VALUES", ++ default_level: Allow, ++ desc: "usage of map with zero-sized value type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::VEC_INIT_THEN_PUSH", ++ default_level: Warn, ++ desc: "`push` immediately after `Vec` creation", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_SLICING", ++ default_level: Warn, ++ desc: "redundant slicing of the whole range of a type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FROM_STR_RADIX_10", ++ default_level: Warn, ++ desc: "from_str_radix with radix 10", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IF_THEN_SOME_ELSE_NONE", ++ default_level: Allow, ++ desc: "Finds if-else that could be written using either `bool::then` or `bool::then_some`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BOOL_ASSERT_COMPARISON", ++ default_level: Warn, ++ desc: "Using a boolean as comparison value in an assert_* macro when there is no need", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNUSED_ASYNC", ++ default_level: Allow, ++ desc: "finds async functions with no await statements", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DISALLOWED_TYPES", ++ default_level: Warn, ++ desc: "use of disallowed types", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_ENFORCED_IMPORT_RENAMES", ++ default_level: Warn, ++ desc: "enforce import renames", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STRLEN_ON_C_STRINGS", ++ default_level: Warn, ++ desc: "using `libc::strlen` on a `CString` or `CStr` value, while `as_bytes().len()` or `to_bytes().len()` respectively can be used instead", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SELF_NAMED_CONSTRUCTORS", ++ default_level: Warn, ++ desc: "method should not have the same name as the type it is implemented for", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ITER_NOT_RETURNING_ITERATOR", ++ default_level: Allow, ++ desc: "methods named `iter` or `iter_mut` that do not return an `Iterator`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_ASSERT", ++ default_level: Allow, ++ desc: "`panic!` and only a `panic!` in `if`-then statement", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NON_SEND_FIELDS_IN_SEND_TY", ++ default_level: Allow, ++ desc: "there is a field that is not safe to be sent to another thread in a `Send` struct", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNDOCUMENTED_UNSAFE_BLOCKS", ++ default_level: Allow, ++ desc: "creating an unsafe block without explaining why it is safe", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_SAFETY_COMMENT", ++ default_level: Allow, ++ desc: "annotating safe code with a safety comment", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FORMAT_IN_FORMAT_ARGS", ++ default_level: Warn, ++ desc: "`format!` used in a macro that does formatting", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TRAILING_EMPTY_ARRAY", ++ default_level: Allow, ++ desc: "struct with a trailing zero-sized array but without `#[repr(C)]` or another `repr` attribute", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_LATE_INIT", ++ default_level: Warn, ++ desc: "late initializations that can be replaced by a `let` statement with an initializer", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::RETURN_SELF_NOT_MUST_USE", ++ default_level: Allow, ++ desc: "missing `#[must_use]` annotation on a method returning `Self`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INIT_NUMBERED_FIELDS", ++ default_level: Warn, ++ desc: "numbered fields in tuple struct initializer", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_BITS", ++ default_level: Warn, ++ desc: "manual implementation of `size_of::() * 8` can be simplified with `T::BITS`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DEFAULT_UNION_REPRESENTATION", ++ default_level: Allow, ++ desc: "unions without a `#[repr(C)]` attribute", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ONLY_USED_IN_RECURSION", ++ default_level: Warn, ++ desc: "arguments that is only used in recursion can be removed", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DBG_MACRO", ++ default_level: Allow, ++ desc: "`dbg!` macro is intended as a debugging tool", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PRINT_WITH_NEWLINE", ++ default_level: Warn, ++ desc: "using `print!()` with a format string that ends in a single newline", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::CARGO_COMMON_METADATA", ++ default_level: Allow, ++ desc: "common metadata is defined in `Cargo.toml`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_FEATURE_NAMES", ++ default_level: Allow, ++ desc: "usage of a redundant feature name", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEGATIVE_FEATURE_NAMES", ++ default_level: Allow, ++ desc: "usage of a negative feature name", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MULTIPLE_CRATE_VERSIONS", ++ default_level: Allow, ++ desc: "multiple versions of the same crate being used", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::WILDCARD_DEPENDENCIES", ++ default_level: Allow, ++ desc: "wildcard dependencies being used", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LINT_GROUPS_PRIORITY", ++ default_level: Deny, ++ desc: "a lint group in `Cargo.toml` at the same priority as a lint", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS", ++ default_level: Warn, ++ desc: "detects cases of references to owned empty strings being passed as an argument to a function expecting `&str`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FORMAT_PUSH_STRING", ++ default_level: Allow, ++ desc: "`format!(..)` appended to existing `String`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LARGE_INCLUDE_FILE", ++ default_level: Allow, ++ desc: "including a large file", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TRIM_SPLIT_WHITESPACE", ++ default_level: Warn, ++ desc: "using `str::trim()` or alike before `str::split_whitespace`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::RC_CLONE_IN_VEC_INIT", ++ default_level: Warn, ++ desc: "initializing reference-counted pointer in `vec![elem; len]`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SWAP_PTR_TO_REF", ++ default_level: Warn, ++ desc: "call to `mem::swap` using pointer derived references", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISMATCHING_TYPE_PARAM_ORDER", ++ default_level: Allow, ++ desc: "type parameter positioned inconsistently between type def and impl block", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::READ_ZERO_BYTE_VEC", ++ default_level: Allow, ++ desc: "checks for reads into a zero-length `Vec`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY", ++ default_level: Warn, ++ desc: "check `std::iter::Empty::default()` and replace with `std::iter::empty()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_REM_EUCLID", ++ default_level: Warn, ++ desc: "manually reimplementing `rem_euclid`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_RETAIN", ++ default_level: Warn, ++ desc: "`retain()` is simpler and the same functionalities", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ABSURD_EXTREME_COMPARISONS", ++ default_level: Deny, ++ desc: "a comparison with a maximum or minimum value that is always true or false", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STD_INSTEAD_OF_CORE", ++ default_level: Allow, ++ desc: "type is imported from std when available in core", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::STD_INSTEAD_OF_ALLOC", ++ default_level: Allow, ++ desc: "type is imported from std when available in alloc", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ALLOC_INSTEAD_OF_CORE", ++ default_level: Allow, ++ desc: "type is imported from alloc when available in core", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_INSTANT_ELAPSED", ++ default_level: Allow, ++ desc: "subtraction between `Instant::now()` and previous `Instant`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNCHECKED_DURATION_SUBTRACTION", ++ default_level: Allow, ++ desc: "finds unchecked subtraction of a 'Duration' from an 'Instant'", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PARTIALEQ_TO_NONE", ++ default_level: Warn, ++ desc: "Binary comparison to `Option::None` relies on `T: PartialEq`, which is unneeded", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_CLAMP", ++ default_level: Warn, ++ desc: "using a clamp pattern instead of the clamp function", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_STRING_NEW", ++ default_level: Allow, ++ desc: "empty String is being created manually", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNUSED_PEEKABLE", ++ default_level: Allow, ++ desc: "creating a peekable iterator without using any of its methods", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BOOL_TO_INT_WITH_IF", ++ default_level: Allow, ++ desc: "using if to convert bool to int", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BOX_DEFAULT", ++ default_level: Warn, ++ desc: "Using Box::new(T::default()) instead of Box::default()", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IMPLICIT_SATURATING_ADD", ++ default_level: Warn, ++ desc: "Perform saturating addition instead of implicitly checking max bound of data type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_TRAIT_METHODS", ++ default_level: Allow, ++ desc: "trait implementation uses default provided method", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FROM_RAW_WITH_VOID_PTR", ++ default_level: Warn, ++ desc: "creating a `Box` from a void raw pointer", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SUSPICIOUS_XOR_USED_AS_POW", ++ default_level: Allow, ++ desc: "XOR (`^`) operator possibly used as exponentiation operator", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_IS_ASCII_CHECK", ++ default_level: Warn, ++ desc: "use dedicated method to check ascii range", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SEMICOLON_INSIDE_BLOCK", ++ default_level: Allow, ++ desc: "add a semicolon inside the block", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SEMICOLON_OUTSIDE_BLOCK", ++ default_level: Allow, ++ desc: "add a semicolon outside the block", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PERMISSIONS_SET_READONLY_FALSE", ++ default_level: Warn, ++ desc: "Checks for calls to `std::fs::Permissions.set_readonly` with argument `false`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SIZE_OF_REF", ++ default_level: Warn, ++ desc: "Argument to `std::mem::size_of_val()` is a double-reference, which is almost certainly unintended", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK", ++ default_level: Allow, ++ desc: "more than one unsafe operation per `unsafe` block", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::EXTRA_UNUSED_TYPE_PARAMETERS", ++ default_level: Warn, ++ desc: "unused type parameters in function definitions", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NO_MANGLE_WITH_RUST_ABI", ++ default_level: Allow, ++ desc: "convert Rust ABI functions to C ABI", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::COLLECTION_IS_NEVER_READ", ++ default_level: Allow, ++ desc: "a collection is never queried", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_ASSERT_MESSAGE", ++ default_level: Allow, ++ desc: "checks assertions without a custom panic message", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_ASYNC_BLOCK", ++ default_level: Warn, ++ desc: "`async { future.await }` can be replaced by `future`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LET_WITH_TYPE_UNDERSCORE", ++ default_level: Warn, ++ desc: "unneeded underscore type (`_`) in a variable declaration", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ALLOW_ATTRIBUTES", ++ default_level: Allow, ++ desc: "`#[allow]` will not trigger if a warning isn't found. `#[expect]` triggers if there are no warnings.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_MAIN_SEPARATOR_STR", ++ default_level: Warn, ++ desc: "`&std::path::MAIN_SEPARATOR.to_string()` can be replaced by `std::path::MAIN_SEPARATOR_STR`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_STRUCT_INITIALIZATION", ++ default_level: Allow, ++ desc: "struct built from a base that can be written mode concisely", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_BOX_RETURNS", ++ default_level: Allow, ++ desc: "Needlessly returning a Box", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LINES_FILTER_MAP_OK", ++ default_level: Warn, ++ desc: "filtering `std::io::Lines` with `filter_map()`, `flat_map()`, or `flatten()` might cause an infinite loop", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TESTS_OUTSIDE_TEST_MODULE", ++ default_level: Allow, ++ desc: "A test function is outside the testing module.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_SLICE_SIZE_CALCULATION", ++ default_level: Warn, ++ desc: "manual slice size calculation", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ITEMS_AFTER_TEST_MODULE", ++ default_level: Warn, ++ desc: "An item was found after the testing module `tests`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS", ++ default_level: Warn, ++ desc: "unit structs can be constructed without calling `default`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_FIELDS_IN_DEBUG", ++ default_level: Allow, ++ desc: "missing fields in manual `Debug` implementation", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::HOST_ENDIAN_BYTES", ++ default_level: Allow, ++ desc: "disallows usage of the `to_ne_bytes` method", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LITTLE_ENDIAN_BYTES", ++ default_level: Allow, ++ desc: "disallows usage of the `to_le_bytes` method", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::BIG_ENDIAN_BYTES", ++ default_level: Allow, ++ desc: "disallows usage of the `to_be_bytes` method", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_TYPE_ANNOTATIONS", ++ default_level: Allow, ++ desc: "warns about needless / redundant type annotations.", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ARC_WITH_NON_SEND_SYNC", ++ default_level: Warn, ++ desc: "using `Arc` with a type that does not implement `Send` and `Sync`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_IF", ++ default_level: Warn, ++ desc: "checks for empty if branches", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MIN_IDENT_CHARS", ++ default_level: Allow, ++ desc: "disallows idents that are too short", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LARGE_STACK_FRAMES", ++ default_level: Allow, ++ desc: "checks for functions that allocate a lot of stack space", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SINGLE_RANGE_IN_VEC_INIT", ++ default_level: Warn, ++ desc: "checks for initialization of `Vec` or arrays which consist of a single range", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_PASS_BY_REF_MUT", ++ default_level: Allow, ++ desc: "using a `&mut` argument when it's not mutated", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NON_CANONICAL_CLONE_IMPL", ++ default_level: Warn, ++ desc: "non-canonical implementation of `Clone` on a `Copy` type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::SINGLE_CALL_FN", ++ default_level: Allow, ++ desc: "checks for functions that are only used once", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::LEGACY_NUMERIC_CONSTANTS", ++ default_level: Warn, ++ desc: "checks for usage of legacy std numeric constants and methods", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_RANGE_PATTERNS", ++ default_level: Warn, ++ desc: "manually writing range patterns using a combined OR pattern (`|`)", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TUPLE_ARRAY_CONVERSIONS", ++ default_level: Allow, ++ desc: "checks for tuple<=>array conversions that are not done with `.into()`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_IS_INFINITE", ++ default_level: Warn, ++ desc: "use dedicated method to check if a float is infinite", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::FOUR_FORWARD_SLASHES", ++ default_level: Warn, ++ desc: "comments with 4 forward slashes (`////`) likely intended to be doc comments (`///`)", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ERROR_IMPL_ERROR", ++ default_level: Allow, ++ desc: "exported types named `Error` that implement `Error`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ABSOLUTE_PATHS", ++ default_level: Allow, ++ desc: "checks for usage of an item without a `use` statement", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REDUNDANT_LOCALS", ++ default_level: Deny, ++ desc: "redundant redefinition of a local binding", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IGNORED_UNIT_PATTERNS", ++ default_level: Allow, ++ desc: "suggest replacing `_` by `()` in patterns where appropriate", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::RESERVE_AFTER_INITIALIZATION", ++ default_level: Warn, ++ desc: "`reserve` called immediately after `Vec` creation", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IMPLIED_BOUNDS_IN_IMPLS", ++ default_level: Warn, ++ desc: "specifying bounds that are implied by other bounds in `impl Trait` type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MISSING_ASSERTS_FOR_INDEXING", ++ default_level: Allow, ++ desc: "indexing into a slice multiple times without an `assert`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR", ++ default_level: Warn, ++ desc: "using `map`/`map_err` on `Option` or `Result` constructors", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS", ++ default_level: Warn, ++ desc: "taking a reference that is going to be automatically dereferenced", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_HASH_ONE", ++ default_level: Warn, ++ desc: "manual implementations of `BuildHasher::hash_one`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ITER_WITHOUT_INTO_ITER", ++ default_level: Allow, ++ desc: "implementing `iter(_mut)` without an associated `IntoIterator for (&|&mut) Type` impl", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INTO_ITER_WITHOUT_ITER", ++ default_level: Allow, ++ desc: "implementing `IntoIterator for (&|&mut) Type` without an inherent `iter(_mut)` method", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ITER_OVER_HASH_TYPE", ++ default_level: Allow, ++ desc: "iterating over unordered hash-based types (`HashMap` and `HashSet`)", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES", ++ default_level: Deny, ++ desc: "ensures that the semantics of `Borrow` for `Hash` are satisfied when `Borrow` and `Borrow<[u8]>` are implemented", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::REPEAT_VEC_WITH_CAPACITY", ++ default_level: Warn, ++ desc: "repeating a `Vec::with_capacity` expression which does not retain capacity", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNINHABITED_REFERENCES", ++ default_level: Allow, ++ desc: "reference to uninhabited type", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INEFFECTIVE_OPEN_OPTIONS", ++ default_level: Warn, ++ desc: "usage of both `write(true)` and `append(true)` on same `OpenOptions`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::UNCONDITIONAL_RECURSION", ++ default_level: Warn, ++ desc: "detect unconditional recursion in some traits implementation", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::PUB_UNDERSCORE_FIELDS", ++ default_level: Allow, ++ desc: "struct field prefixed with underscore and marked public", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST", ++ default_level: Warn, ++ desc: "suggest using `const` in `thread_local!` macro", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INCOMPATIBLE_MSRV", ++ default_level: Warn, ++ desc: "ensures that all items used in the crate are available for the current MSRV", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::TO_STRING_TRAIT_IMPL", ++ default_level: Warn, ++ desc: "check for direct implementations of `ToString`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ASSIGNING_CLONES", ++ default_level: Warn, ++ desc: "assigning the result of cloning may be inefficient", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::ZERO_REPEAT_SIDE_EFFECTS", ++ default_level: Warn, ++ desc: "usage of zero-sized initializations of arrays or vecs causing side effects", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::MANUAL_UNWRAP_OR_DEFAULT", ++ default_level: Warn, ++ desc: "check if a `match` or `if let` can be simplified with `unwrap_or_default`", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} ++[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { ++ name: "clippy::INTEGER_DIVISION_REMAINDER_USED", ++ default_level: Allow, ++ desc: "use of disallowed default division and remainder operations", ++ edition_lint_opts: None, ++ report_in_external_macro: true, ++ future_incompatible: None, ++ is_loaded: true, ++ feature_gate: None, ++ crate_level_only: false, ++} + error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:15:20 +... 7 lines skipped ... + = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` + +-error[E0080]: evaluation of `main::{constant#3}` failed +- --> tests/ui/indexing_slicing_index.rs:47:14 +- | +-LL | const { &ARR[idx4()] }; +- | ^^^^^^^^^^^ index out of bounds: the length is 2 but the index is 4 +- +-note: erroneous constant encountered +- --> tests/ui/indexing_slicing_index.rs:47:5 +- | +-LL | const { &ARR[idx4()] }; +- | ^^^^^^^^^^^^^^^^^^^^^^ +- + error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:28:5 +... 95 lines skipped ... + | ^^^^ + +-error: aborting due to 15 previous errors ++error: aborting due to 14 previous errors + +-For more information about this error, try `rustc --explain E0080`. + + +full stderr: +[compiler/rustc_lint/src/late.rs:460:5] "FDDDDDDDDDDDDDDDDDDDDDDDd" = "FDDDDDDDDDDDDDDDDDDDDDDDd" +[compiler/rustc_lint/src/late.rs:461:5] &lints_to_emit = [ + "warnings", + "indexing_slicing", + "out_of_bounds_indexing", +] +[compiler/rustc_lint/src/late.rs:461:5] lints_allowed = [ + "unused", + "internal_features", + "unconditional_panic", + "no_effect", + "unnecessary_operation", + "useless_vec", +] +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ARITHMETIC_SIDE_EFFECTS", + default_level: Allow, + desc: "any arithmetic expression that can cause side effects like overflows or panics", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::AWAIT_HOLDING_LOCK", + default_level: Warn, + desc: "inside an async function, holding a `MutexGuard` while calling `await`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SERDE_API_MISUSE", + default_level: Deny, + desc: "various things that will negatively affect your serde experience", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BOX_COLLECTION", + default_level: Warn, + desc: "usage of `Box>`, vector elements are already on the heap", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NONMINIMAL_BOOL", + default_level: Warn, + desc: "boolean expressions that can be written more concisely", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT", + default_level: Deny, + desc: "C-like enums that are `repr(isize/usize)` and have values that don't fit into an `i32`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXCESSIVE_PRECISION", + default_level: Warn, + desc: "excessive precision for float literal", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PTR_ARG", + default_level: Warn, + desc: "fn arguments of the type `&Vec<...>` or `&String`, suggesting to use `&[...]` or `&str` instead, respectively", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_BOOL", + default_level: Warn, + desc: "if-statements with plain booleans in the then- and else-clause, e.g., `if p { true } else { false }`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BOOL_COMPARISON", + default_level: Warn, + desc: "comparing a variable to a boolean, e.g., `if x == true` or `if x != true`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_FOR_EACH", + default_level: Allow, + desc: "using `for_each` where a `for` loop would be simpler", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TOPLEVEL_REF_ARG", + default_level: Warn, + desc: "an entire binding declared as `ref`, in a function argument or a `let` statement", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_CLOSURE", + default_level: Warn, + desc: "redundant closures, i.e., `|a| foo(a)` (which can be written as just `foo`)", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MUT_MUT", + default_level: Allow, + desc: "usage of double-mut refs, e.g., `&mut &mut ...`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_MUT_PASSED", + default_level: Warn, + desc: "an argument passed as a mutable reference although the callee only demands an immutable reference", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SIGNIFICANT_DROP_TIGHTENING", + default_level: Allow, + desc: "Searches for elements marked with `#[clippy::has_significant_drop]` that could be early dropped but are in fact dropped at the end of their scopes", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LEN_ZERO", + default_level: Warn, + desc: "checking `.len() == 0` or `.len() > 0` (or similar) when `.is_empty()` could be used instead", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON", + default_level: Allow, + desc: "ensures that all `allow` and `expect` attributes have a reason", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INLINE_ALWAYS", + default_level: Allow, + desc: "use of `#[inline(always)]`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DEPRECATED_SEMVER", + default_level: Deny, + desc: "use of `#[deprecated(since = \"x\")]` where x is not semver", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BLOCKS_IN_CONDITIONS", + default_level: Warn, + desc: "useless or complex blocks that can be eliminated in conditions", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INVISIBLE_CHARACTERS", + default_level: Deny, + desc: "using an invisible character in a string literal, which is confusing", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNINIT_VEC", + default_level: Deny, + desc: "Vec with uninitialized data", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNIT_RETURN_EXPECTING_ORD", + default_level: Deny, + desc: "fn arguments of type Fn(...) -> Ord returning the unit type ().", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRING_ADD", + default_level: Allow, + desc: "using `x + ..` where x is a `String` instead of `push_str()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRING_ADD_ASSIGN", + default_level: Allow, + desc: "using `x = x + ..` where x is a `String` instead of `push_str()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRING_SLICE", + default_level: Allow, + desc: "slicing a string", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IMPLICIT_RETURN", + default_level: Allow, + desc: "use a return statement like `return expr` instead of an expression", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IMPLICIT_SATURATING_SUB", + default_level: Warn, + desc: "Perform saturating subtraction instead of implicitly checking lower bound of data type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DEFAULT_NUMERIC_FALLBACK", + default_level: Allow, + desc: "usage of unconstrained numeric literals which may cause default numeric fallback.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR", + default_level: Allow, + desc: "the order of the field init shorthand is inconsistent with the order in the struct definition", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NON_OCTAL_UNIX_PERMISSIONS", + default_level: Deny, + desc: "use of non-octal value to set unix file permissions, which will be translated into octal", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::APPROX_CONSTANT", + default_level: Deny, + desc: "the approximate of a known float constant (in `std::fXX::consts`)", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNWRAP_USED", + default_level: Allow, + desc: "using `.unwrap()` on `Result` or `Option`, which should at least get a better message using `expect()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXPECT_USED", + default_level: Allow, + desc: "using `.expect()` on `Result` or `Option`, which might be better handled", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SHOULD_IMPLEMENT_TRAIT", + default_level: Warn, + desc: "defining a method that should be implementing a std trait", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SINGLE_MATCH", + default_level: Warn, + desc: "a `match` statement with a single nontrivial arm (i.e., where the other arm is `_ => {}`) instead of `if let`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_NON_EXHAUSTIVE", + default_level: Warn, + desc: "manual implementations of the non-exhaustive pattern can be simplified using #[non_exhaustive]", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_STRIP", + default_level: Warn, + desc: "suggests using `strip_{prefix,suffix}` over `str::{starts,ends}_with` and slicing", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CHECKED_CONVERSIONS", + default_level: Allow, + desc: "`try_from` could replace manual bounds checking when casting", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MEM_REPLACE_OPTION_WITH_NONE", + default_level: Warn, + desc: "replacing an `Option` with `None` instead of `take()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::RANGE_PLUS_ONE", + default_level: Allow, + desc: "`x..(y+1)` reads better as `x..=y`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::RANGE_MINUS_ONE", + default_level: Allow, + desc: "`x..=(y-1)` reads better as `x..y`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REVERSED_EMPTY_RANGES", + default_level: Deny, + desc: "reversing the limits of range expressions, resulting in empty ranges", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FROM_OVER_INTO", + default_level: Warn, + desc: "Warns on implementations of `Into<..>` to use `From<..>`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::USE_SELF", + default_level: Allow, + desc: "unnecessary structure name repetition whereas `Self` is applicable", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_CONST_FOR_FN", + default_level: Allow, + desc: "Lint functions definitions that could be made `const fn`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_QUESTION_MARK", + default_level: Warn, + desc: "Suggest `value.inner_option` instead of `Some(value.inner_option?)`. The same goes for `Result`.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CAST_PRECISION_LOSS", + default_level: Allow, + desc: "casts that cause loss of precision, e.g., `x as f32` where `x: u64`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CAST_SIGN_LOSS", + default_level: Allow, + desc: "casts from signed types to unsigned types, e.g., `x as u32` where `x: i32`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CAST_POSSIBLE_TRUNCATION", + default_level: Allow, + desc: "casts that may cause truncation of the value, e.g., `x as u8` where `x: u32`, or `x as i32` where `x: f32`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CAST_POSSIBLE_WRAP", + default_level: Allow, + desc: "casts that may cause wrapping around the value, e.g., `x as i32` where `x: u32` and `x > i32::MAX`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CAST_LOSSLESS", + default_level: Allow, + desc: "casts using `as` that are known to be lossless, e.g., `x as u64` where `x: u8`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CAST_PTR_ALIGNMENT", + default_level: Allow, + desc: "cast from a pointer to a more-strictly-aligned pointer", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CAST_SLICE_DIFFERENT_SIZES", + default_level: Deny, + desc: "casting using `as` between raw pointers to slices of types with different sizes", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SIZE_OF_IN_ELEMENT_COUNT", + default_level: Deny, + desc: "using `size_of::` or `size_of_val::` where a count of elements of `T` is expected", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SAME_NAME_METHOD", + default_level: Allow, + desc: "two method with same name", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INDEX_REFUTABLE_SLICE", + default_level: Allow, + desc: "avoid indexing on slices which could be destructed", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SHADOW_SAME", + default_level: Allow, + desc: "rebinding a name to itself, e.g., `let mut x = &mut x`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SHADOW_REUSE", + default_level: Allow, + desc: "rebinding a name to an expression that re-uses the original value, e.g., `let x = x + 1`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SHADOW_UNRELATED", + default_level: Allow, + desc: "rebinding a name without even using the original value", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LET_UNIT_VALUE", + default_level: Warn, + desc: "creating a `let` binding to a value of unit type, which usually can't be used afterwards", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_MEMCPY", + default_level: Warn, + desc: "manually copying items between slices", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MAIN_RECURSION", + default_level: Warn, + desc: "recursion using the entrypoint", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_LIFETIMES", + default_level: Warn, + desc: "using explicit lifetimes for references in function arguments when elision rules would allow omitting them", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MAP_ENTRY", + default_level: Warn, + desc: "use of `contains_key` followed by `insert` on a `HashMap` or `BTreeMap`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MIN_MAX", + default_level: Deny, + desc: "`min(_, max(_, _))` (or vice versa) with bounds clamping the result to a constant", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ZERO_DIVIDED_BY_ZERO", + default_level: Warn, + desc: "usage of `0.0 / 0.0` to obtain NaN instead of `f32::NAN` or `f64::NAN`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MUTEX_ATOMIC", + default_level: Allow, + desc: "using a mutex where an atomic value could be used instead.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MUTEX_INTEGER", + default_level: Allow, + desc: "using a mutex for an integer type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_UPDATE", + default_level: Warn, + desc: "using `Foo { ..base }` when there are no missing fields", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_BORROWED_REFERENCE", + default_level: Warn, + desc: "destructuring a reference and borrowing the inner value", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BORROW_DEREF_REF", + default_level: Warn, + desc: "deref on an immutable reference returns the same type as itself", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NO_EFFECT", + default_level: Warn, + desc: "statements with no effect", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_OPERATION", + default_level: Warn, + desc: "outer expressions with no effect", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NO_EFFECT_UNDERSCORE_BINDING", + default_level: Allow, + desc: "binding to `_` prefixed variable with no side-effect", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TEMPORARY_ASSIGNMENT", + default_level: Warn, + desc: "assignments to temporaries", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CROSSPOINTER_TRANSMUTE", + default_level: Warn, + desc: "transmutes that have to or from types that are a pointer to the other", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::COGNITIVE_COMPLEXITY", + default_level: Allow, + desc: "functions that should be split up into multiple functions", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BOXED_LOCAL", + default_level: Warn, + desc: "using `Box` where unnecessary", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::USELESS_VEC", + default_level: Warn, + desc: "useless `vec!`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNIMPLEMENTED", + default_level: Allow, + desc: "`unimplemented!` should not be present in production code", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNREACHABLE", + default_level: Allow, + desc: "usage of the `unreachable!` macro", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TODO", + default_level: Allow, + desc: "`todo!` should not be present in production code", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PANIC", + default_level: Allow, + desc: "usage of the `panic!` macro", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRING_LIT_AS_BYTES", + default_level: Allow, + desc: "calling `as_bytes` on a string literal instead of using a byte string literal", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRING_FROM_UTF8_AS_BYTES", + default_level: Warn, + desc: "casting string slices to byte slices and back", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXPL_IMPL_CLONE_ON_COPY", + default_level: Allow, + desc: "implementing `Clone` explicitly on `Copy` types", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DERIVED_HASH_WITH_MANUAL_EQ", + default_level: Deny, + desc: "deriving `Hash` but implementing `PartialEq` explicitly", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DERIVABLE_IMPLS", + default_level: Warn, + desc: "manual implementation of the `Default` trait which is equal to a derive", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DROP_NON_DROP", + default_level: Warn, + desc: "call to `std::mem::drop` with a value which does not implement `Drop`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EMPTY_ENUM", + default_level: Allow, + desc: "enum with no variants", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INVALID_UPCAST_COMPARISONS", + default_level: Allow, + desc: "a comparison involving an upcast which is always true or false", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INVALID_REGEX", + default_level: Deny, + desc: "invalid regular expressions", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IFS_SAME_COND", + default_level: Deny, + desc: "consecutive `if`s with the same condition", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::COPY_ITERATOR", + default_level: Allow, + desc: "implementing `Iterator` on a `Copy` type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::USELESS_FORMAT", + default_level: Warn, + desc: "useless use of `format!`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_SWAP", + default_level: Warn, + desc: "manual swap of two variables", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::OVERFLOW_CHECK_CONDITIONAL", + default_level: Warn, + desc: "overflow checks inspired by C which are likely to panic", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEW_WITHOUT_DEFAULT", + default_level: Warn, + desc: "`pub fn new() -> Self` method without `Default` implementation", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DISALLOWED_NAMES", + default_level: Warn, + desc: "usage of a disallowed/placeholder name", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TOO_MANY_ARGUMENTS", + default_level: Warn, + desc: "functions with too many arguments", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DOC_LINK_WITH_QUOTES", + default_level: Allow, + desc: "possible typo for an intra-doc link", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DOC_MARKDOWN", + default_level: Allow, + desc: "presence of `_`, `::` or camel-case outside backticks in documentation", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_SAFETY_DOC", + default_level: Warn, + desc: "`pub unsafe fn` without `# Safety` docs", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEG_MULTIPLY", + default_level: Warn, + desc: "multiplying integers by `-1`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::USELESS_LET_IF_SEQ", + default_level: Allow, + desc: "unidiomatic `let mut` declaration followed by initialization in `if`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MIXED_READ_WRITE_IN_EXPRESSION", + default_level: Allow, + desc: "whether a variable read occurs before a write depends on sub-expression evaluation order", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DIVERGING_SUB_EXPRESSION", + default_level: Warn, + desc: "whether an expression contains a diverging sub expression", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS", + default_level: Allow, + desc: "detects missing documentation for private members", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS", + default_level: Allow, + desc: "detects missing `#[inline]` attribute for public callables (functions, trait methods, methods...)", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXHAUSTIVE_ENUMS", + default_level: Allow, + desc: "detects exported enums that have not been marked #[non_exhaustive]", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXHAUSTIVE_STRUCTS", + default_level: Allow, + desc: "detects exported structs that have not been marked #[non_exhaustive]", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MATCH_RESULT_OK", + default_level: Warn, + desc: "usage of `ok()` in `let Some(pat)` statements is unnecessary, match on `Ok(pat)` instead", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PARTIALEQ_NE_IMPL", + default_level: Warn, + desc: "re-implementing `PartialEq::ne`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNUSED_IO_AMOUNT", + default_level: Deny, + desc: "unused written/read amount", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LARGE_ENUM_VARIANT", + default_level: Warn, + desc: "large size difference between variants on an enum", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXPLICIT_WRITE", + default_level: Warn, + desc: "using the `write!()` family of functions instead of the `print!()` family of functions, when using the latter would work", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_PASS_BY_VALUE", + default_level: Allow, + desc: "functions taking arguments by value, but not consuming them in its body", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TRIVIALLY_COPY_PASS_BY_REF", + default_level: Allow, + desc: "functions taking small copyable arguments by reference", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LARGE_TYPES_PASSED_BY_VALUE", + default_level: Allow, + desc: "functions taking large arguments by value", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REF_OPTION_REF", + default_level: Allow, + desc: "use `Option<&T>` instead of `&Option<&T>`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INFINITE_ITER", + default_level: Deny, + desc: "infinite iteration", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INLINE_FN_WITHOUT_BODY", + default_level: Deny, + desc: "use of `#[inline]` on trait methods without bodies", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::USELESS_CONVERSION", + default_level: Warn, + desc: "calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` which perform useless conversions to the same type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IMPLICIT_HASHER", + default_level: Allow, + desc: "missing generalization over different hashers", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FALLIBLE_IMPL_FROM", + default_level: Allow, + desc: "Warn on impls of `From<..>` that contain `panic!()` or `unwrap()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::QUESTION_MARK", + default_level: Warn, + desc: "checks for expressions that could be replaced by the question mark operator", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::QUESTION_MARK_USED", + default_level: Allow, + desc: "complains if the question mark operator is used", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SUSPICIOUS_ARITHMETIC_IMPL", + default_level: Warn, + desc: "suspicious use of operators in impl of arithmetic trait", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::OPTION_MAP_UNIT_FN", + default_level: Warn, + desc: "using `option.map(f)`, where `f` is a function or closure that returns `()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MULTIPLE_INHERENT_IMPL", + default_level: Allow, + desc: "Multiple inherent impl that could be grouped", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEG_CMP_OP_ON_PARTIAL_ORD", + default_level: Warn, + desc: "The use of negated comparison operators on partially ordered types may produce confusing code.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PANICKING_UNWRAP", + default_level: Deny, + desc: "checks for calls of `unwrap[_err]()` that will always fail", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INDEXING_SLICING", + default_level: Allow, + desc: "indexing/slicing usage", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DECLARE_INTERIOR_MUTABLE_CONST", + default_level: Warn, + desc: "declaring `const` with interior mutability", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PTR_OFFSET_WITH_CAST", + default_level: Warn, + desc: "unneeded pointer offset cast", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_CLONE", + default_level: Allow, + desc: "`clone()` of an owned value that is going to be dropped immediately", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SLOW_VECTOR_INITIALIZATION", + default_level: Warn, + desc: "slow vector initialization", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_WRAPS", + default_level: Allow, + desc: "functions that only return `Ok` or `Some`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ASSERTIONS_ON_CONSTANTS", + default_level: Warn, + desc: "`assert!(true)` / `assert!(false)` will be optimized out by the compiler, and should probably be replaced by a `panic!()` or `unreachable!()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ASSERTIONS_ON_RESULT_STATES", + default_level: Allow, + desc: "`assert!(r.is_ok())`/`assert!(r.is_err())` gives worse error message than directly calling `r.unwrap()`/`r.unwrap_err()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INHERENT_TO_STRING", + default_level: Warn, + desc: "type implements inherent method `to_string()`, but should instead implement the `Display` trait", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TYPE_REPETITION_IN_BOUNDS", + default_level: Allow, + desc: "types are repeated unnecessarily in trait bounds, use `+` instead of using `T: _, T: _`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TRAIT_DUPLICATION_IN_BOUNDS", + default_level: Allow, + desc: "check if the same trait bounds are specified more than once during a generic declaration", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::COMPARISON_CHAIN", + default_level: Warn, + desc: "`if`s that can be rewritten with `match` and `cmp`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MUTABLE_KEY_TYPE", + default_level: Warn, + desc: "Check for mutable `Map`/`Set` key type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::RECURSIVE_FORMAT_IMPL", + default_level: Deny, + desc: "Format trait method called while implementing the same Format trait", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_CLOSURE_CALL", + default_level: Warn, + desc: "throwaway closures called in the expression they are defined", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LET_AND_RETURN", + default_level: Warn, + desc: "creating a let-binding and then immediately returning it like `let x = expr; x` at the end of a block", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ITEMS_AFTER_STATEMENTS", + default_level: Allow, + desc: "blocks where an item comes after a statement", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS", + default_level: Warn, + desc: "needless parenthesis on range literals can be removed", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CREATE_DIR", + default_level: Allow, + desc: "calling `std::fs::create_dir` instead of `std::fs::create_dir_all`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ENUM_VARIANT_NAMES", + default_level: Warn, + desc: "enums where all variants share a prefix/postfix", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UPPER_CASE_ACRONYMS", + default_level: Warn, + desc: "capitalized acronyms are against the naming convention", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DEFAULT_TRAIT_ACCESS", + default_level: Allow, + desc: "checks for literal calls to `Default::default()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FIELD_REASSIGN_WITH_DEFAULT", + default_level: Warn, + desc: "binding initialized with Default should have its fields set in the initializer", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNUSED_SELF", + default_level: Allow, + desc: "methods that contain a `self` argument but don't use it", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DEBUG_ASSERT_WITH_MUT_CALL", + default_level: Allow, + desc: "mutable arguments in `debug_assert{,_ne,_eq}!`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXIT", + default_level: Allow, + desc: "detects `std::process::exit` calls", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TO_DIGIT_IS_SOME", + default_level: Warn, + desc: "`char.is_digit()` is clearer", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LARGE_STACK_ARRAYS", + default_level: Allow, + desc: "allocating large arrays on stack may cause stack overflow", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LARGE_CONST_ARRAYS", + default_level: Warn, + desc: "large non-scalar const array may cause performance overhead", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IMPRECISE_FLOPS", + default_level: Allow, + desc: "usage of imprecise floating point operations", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SUBOPTIMAL_FLOPS", + default_level: Allow, + desc: "usage of sub-optimal floating point operations", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::AS_CONVERSIONS", + default_level: Allow, + desc: "using a potentially dangerous silent `as` conversion", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LET_UNDERSCORE_MUST_USE", + default_level: Allow, + desc: "non-binding `let` on a `#[must_use]` expression", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LET_UNDERSCORE_LOCK", + default_level: Deny, + desc: "non-binding `let` on a synchronization lock", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRUCT_EXCESSIVE_BOOLS", + default_level: Allow, + desc: "using too many bools in a struct", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FN_PARAMS_EXCESSIVE_BOOLS", + default_level: Allow, + desc: "using too many bools in function parameters", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ENUM_GLOB_USE", + default_level: Allow, + desc: "use items that import all variants of an enum", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::WILDCARD_IMPORTS", + default_level: Allow, + desc: "lint `use _::*` statements", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_PUB_CRATE", + default_level: Allow, + desc: "Using `pub(crate)` visibility on items that are not crate visible due to the visibility of the module that contains them.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FN_ADDRESS_COMPARISONS", + default_level: Deny, + desc: "comparison with an address of a function item", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXPLICIT_DEREF_METHODS", + default_level: Allow, + desc: "Explicit use of deref or deref_mut method while not in a method chain.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_BORROW", + default_level: Warn, + desc: "taking a reference that is going to be automatically dereferenced", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::OPTION_IF_LET_ELSE", + default_level: Allow, + desc: "reimplementation of Option::map_or", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FUTURE_NOT_SEND", + default_level: Allow, + desc: "public Futures must be Send", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LARGE_FUTURES", + default_level: Allow, + desc: "large future may lead to unexpected stack overflows", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IF_LET_MUTEX", + default_level: Deny, + desc: "locking a `Mutex` in an `if let` block can cause deadlocks", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IF_NOT_ELSE", + default_level: Allow, + desc: "`if` branches that could be swapped so no negation operation is necessary on the condition", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EQUATABLE_IF_LET", + default_level: Allow, + desc: "using pattern matching instead of equality", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_ASYNC_FN", + default_level: Warn, + desc: "manual implementations of `async` functions can be simplified using the dedicated syntax", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PANIC_IN_RESULT_FN", + default_level: Allow, + desc: "functions of type `Result<..>` that contain `panic!()` or assertion", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MACRO_USE_IMPORTS", + default_level: Allow, + desc: "#[macro_use] is no longer needed", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PATTERN_TYPE_MISMATCH", + default_level: Allow, + desc: "type of pattern does not match the expression type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNWRAP_IN_RESULT", + default_level: Allow, + desc: "functions of type `Result<..>` or `Option`<...> that contain `expect()` or `unwrap()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SEMICOLON_IF_NOTHING_RETURNED", + default_level: Allow, + desc: "add a semicolon if nothing is returned", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ASYNC_YIELDS_ASYNC", + default_level: Deny, + desc: "async blocks that return a type that can be awaited", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DISALLOWED_MACROS", + default_level: Warn, + desc: "use of a disallowed macro", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DISALLOWED_METHODS", + default_level: Warn, + desc: "use of a disallowed method call", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EMPTY_DROP", + default_level: Allow, + desc: "empty `Drop` implementations", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STR_TO_STRING", + default_level: Allow, + desc: "using `to_string()` on a `&str`, which should be `to_owned()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRING_TO_STRING", + default_level: Allow, + desc: "using `to_string()` on a `String`, which should be `clone()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ZERO_SIZED_MAP_VALUES", + default_level: Allow, + desc: "usage of map with zero-sized value type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::VEC_INIT_THEN_PUSH", + default_level: Warn, + desc: "`push` immediately after `Vec` creation", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_SLICING", + default_level: Warn, + desc: "redundant slicing of the whole range of a type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FROM_STR_RADIX_10", + default_level: Warn, + desc: "from_str_radix with radix 10", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IF_THEN_SOME_ELSE_NONE", + default_level: Allow, + desc: "Finds if-else that could be written using either `bool::then` or `bool::then_some`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BOOL_ASSERT_COMPARISON", + default_level: Warn, + desc: "Using a boolean as comparison value in an assert_* macro when there is no need", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNUSED_ASYNC", + default_level: Allow, + desc: "finds async functions with no await statements", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DISALLOWED_TYPES", + default_level: Warn, + desc: "use of disallowed types", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_ENFORCED_IMPORT_RENAMES", + default_level: Warn, + desc: "enforce import renames", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STRLEN_ON_C_STRINGS", + default_level: Warn, + desc: "using `libc::strlen` on a `CString` or `CStr` value, while `as_bytes().len()` or `to_bytes().len()` respectively can be used instead", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SELF_NAMED_CONSTRUCTORS", + default_level: Warn, + desc: "method should not have the same name as the type it is implemented for", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ITER_NOT_RETURNING_ITERATOR", + default_level: Allow, + desc: "methods named `iter` or `iter_mut` that do not return an `Iterator`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_ASSERT", + default_level: Allow, + desc: "`panic!` and only a `panic!` in `if`-then statement", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NON_SEND_FIELDS_IN_SEND_TY", + default_level: Allow, + desc: "there is a field that is not safe to be sent to another thread in a `Send` struct", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNDOCUMENTED_UNSAFE_BLOCKS", + default_level: Allow, + desc: "creating an unsafe block without explaining why it is safe", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_SAFETY_COMMENT", + default_level: Allow, + desc: "annotating safe code with a safety comment", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FORMAT_IN_FORMAT_ARGS", + default_level: Warn, + desc: "`format!` used in a macro that does formatting", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TRAILING_EMPTY_ARRAY", + default_level: Allow, + desc: "struct with a trailing zero-sized array but without `#[repr(C)]` or another `repr` attribute", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_LATE_INIT", + default_level: Warn, + desc: "late initializations that can be replaced by a `let` statement with an initializer", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::RETURN_SELF_NOT_MUST_USE", + default_level: Allow, + desc: "missing `#[must_use]` annotation on a method returning `Self`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INIT_NUMBERED_FIELDS", + default_level: Warn, + desc: "numbered fields in tuple struct initializer", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_BITS", + default_level: Warn, + desc: "manual implementation of `size_of::() * 8` can be simplified with `T::BITS`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DEFAULT_UNION_REPRESENTATION", + default_level: Allow, + desc: "unions without a `#[repr(C)]` attribute", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ONLY_USED_IN_RECURSION", + default_level: Warn, + desc: "arguments that is only used in recursion can be removed", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DBG_MACRO", + default_level: Allow, + desc: "`dbg!` macro is intended as a debugging tool", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PRINT_WITH_NEWLINE", + default_level: Warn, + desc: "using `print!()` with a format string that ends in a single newline", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::CARGO_COMMON_METADATA", + default_level: Allow, + desc: "common metadata is defined in `Cargo.toml`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_FEATURE_NAMES", + default_level: Allow, + desc: "usage of a redundant feature name", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEGATIVE_FEATURE_NAMES", + default_level: Allow, + desc: "usage of a negative feature name", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MULTIPLE_CRATE_VERSIONS", + default_level: Allow, + desc: "multiple versions of the same crate being used", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::WILDCARD_DEPENDENCIES", + default_level: Allow, + desc: "wildcard dependencies being used", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LINT_GROUPS_PRIORITY", + default_level: Deny, + desc: "a lint group in `Cargo.toml` at the same priority as a lint", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS", + default_level: Warn, + desc: "detects cases of references to owned empty strings being passed as an argument to a function expecting `&str`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FORMAT_PUSH_STRING", + default_level: Allow, + desc: "`format!(..)` appended to existing `String`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LARGE_INCLUDE_FILE", + default_level: Allow, + desc: "including a large file", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TRIM_SPLIT_WHITESPACE", + default_level: Warn, + desc: "using `str::trim()` or alike before `str::split_whitespace`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::RC_CLONE_IN_VEC_INIT", + default_level: Warn, + desc: "initializing reference-counted pointer in `vec![elem; len]`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SWAP_PTR_TO_REF", + default_level: Warn, + desc: "call to `mem::swap` using pointer derived references", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISMATCHING_TYPE_PARAM_ORDER", + default_level: Allow, + desc: "type parameter positioned inconsistently between type def and impl block", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::READ_ZERO_BYTE_VEC", + default_level: Allow, + desc: "checks for reads into a zero-length `Vec`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY", + default_level: Warn, + desc: "check `std::iter::Empty::default()` and replace with `std::iter::empty()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_REM_EUCLID", + default_level: Warn, + desc: "manually reimplementing `rem_euclid`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_RETAIN", + default_level: Warn, + desc: "`retain()` is simpler and the same functionalities", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ABSURD_EXTREME_COMPARISONS", + default_level: Deny, + desc: "a comparison with a maximum or minimum value that is always true or false", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STD_INSTEAD_OF_CORE", + default_level: Allow, + desc: "type is imported from std when available in core", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::STD_INSTEAD_OF_ALLOC", + default_level: Allow, + desc: "type is imported from std when available in alloc", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ALLOC_INSTEAD_OF_CORE", + default_level: Allow, + desc: "type is imported from alloc when available in core", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_INSTANT_ELAPSED", + default_level: Allow, + desc: "subtraction between `Instant::now()` and previous `Instant`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNCHECKED_DURATION_SUBTRACTION", + default_level: Allow, + desc: "finds unchecked subtraction of a 'Duration' from an 'Instant'", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PARTIALEQ_TO_NONE", + default_level: Warn, + desc: "Binary comparison to `Option::None` relies on `T: PartialEq`, which is unneeded", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_CLAMP", + default_level: Warn, + desc: "using a clamp pattern instead of the clamp function", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_STRING_NEW", + default_level: Allow, + desc: "empty String is being created manually", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNUSED_PEEKABLE", + default_level: Allow, + desc: "creating a peekable iterator without using any of its methods", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BOOL_TO_INT_WITH_IF", + default_level: Allow, + desc: "using if to convert bool to int", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BOX_DEFAULT", + default_level: Warn, + desc: "Using Box::new(T::default()) instead of Box::default()", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IMPLICIT_SATURATING_ADD", + default_level: Warn, + desc: "Perform saturating addition instead of implicitly checking max bound of data type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_TRAIT_METHODS", + default_level: Allow, + desc: "trait implementation uses default provided method", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FROM_RAW_WITH_VOID_PTR", + default_level: Warn, + desc: "creating a `Box` from a void raw pointer", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SUSPICIOUS_XOR_USED_AS_POW", + default_level: Allow, + desc: "XOR (`^`) operator possibly used as exponentiation operator", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_IS_ASCII_CHECK", + default_level: Warn, + desc: "use dedicated method to check ascii range", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SEMICOLON_INSIDE_BLOCK", + default_level: Allow, + desc: "add a semicolon inside the block", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SEMICOLON_OUTSIDE_BLOCK", + default_level: Allow, + desc: "add a semicolon outside the block", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PERMISSIONS_SET_READONLY_FALSE", + default_level: Warn, + desc: "Checks for calls to `std::fs::Permissions.set_readonly` with argument `false`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SIZE_OF_REF", + default_level: Warn, + desc: "Argument to `std::mem::size_of_val()` is a double-reference, which is almost certainly unintended", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK", + default_level: Allow, + desc: "more than one unsafe operation per `unsafe` block", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::EXTRA_UNUSED_TYPE_PARAMETERS", + default_level: Warn, + desc: "unused type parameters in function definitions", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NO_MANGLE_WITH_RUST_ABI", + default_level: Allow, + desc: "convert Rust ABI functions to C ABI", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::COLLECTION_IS_NEVER_READ", + default_level: Allow, + desc: "a collection is never queried", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_ASSERT_MESSAGE", + default_level: Allow, + desc: "checks assertions without a custom panic message", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_ASYNC_BLOCK", + default_level: Warn, + desc: "`async { future.await }` can be replaced by `future`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LET_WITH_TYPE_UNDERSCORE", + default_level: Warn, + desc: "unneeded underscore type (`_`) in a variable declaration", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ALLOW_ATTRIBUTES", + default_level: Allow, + desc: "`#[allow]` will not trigger if a warning isn't found. `#[expect]` triggers if there are no warnings.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_MAIN_SEPARATOR_STR", + default_level: Warn, + desc: "`&std::path::MAIN_SEPARATOR.to_string()` can be replaced by `std::path::MAIN_SEPARATOR_STR`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_STRUCT_INITIALIZATION", + default_level: Allow, + desc: "struct built from a base that can be written mode concisely", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_BOX_RETURNS", + default_level: Allow, + desc: "Needlessly returning a Box", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LINES_FILTER_MAP_OK", + default_level: Warn, + desc: "filtering `std::io::Lines` with `filter_map()`, `flat_map()`, or `flatten()` might cause an infinite loop", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TESTS_OUTSIDE_TEST_MODULE", + default_level: Allow, + desc: "A test function is outside the testing module.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_SLICE_SIZE_CALCULATION", + default_level: Warn, + desc: "manual slice size calculation", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ITEMS_AFTER_TEST_MODULE", + default_level: Warn, + desc: "An item was found after the testing module `tests`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS", + default_level: Warn, + desc: "unit structs can be constructed without calling `default`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_FIELDS_IN_DEBUG", + default_level: Allow, + desc: "missing fields in manual `Debug` implementation", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::HOST_ENDIAN_BYTES", + default_level: Allow, + desc: "disallows usage of the `to_ne_bytes` method", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LITTLE_ENDIAN_BYTES", + default_level: Allow, + desc: "disallows usage of the `to_le_bytes` method", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::BIG_ENDIAN_BYTES", + default_level: Allow, + desc: "disallows usage of the `to_be_bytes` method", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_TYPE_ANNOTATIONS", + default_level: Allow, + desc: "warns about needless / redundant type annotations.", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ARC_WITH_NON_SEND_SYNC", + default_level: Warn, + desc: "using `Arc` with a type that does not implement `Send` and `Sync`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_IF", + default_level: Warn, + desc: "checks for empty if branches", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MIN_IDENT_CHARS", + default_level: Allow, + desc: "disallows idents that are too short", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LARGE_STACK_FRAMES", + default_level: Allow, + desc: "checks for functions that allocate a lot of stack space", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SINGLE_RANGE_IN_VEC_INIT", + default_level: Warn, + desc: "checks for initialization of `Vec` or arrays which consist of a single range", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_PASS_BY_REF_MUT", + default_level: Allow, + desc: "using a `&mut` argument when it's not mutated", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NON_CANONICAL_CLONE_IMPL", + default_level: Warn, + desc: "non-canonical implementation of `Clone` on a `Copy` type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::SINGLE_CALL_FN", + default_level: Allow, + desc: "checks for functions that are only used once", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::LEGACY_NUMERIC_CONSTANTS", + default_level: Warn, + desc: "checks for usage of legacy std numeric constants and methods", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_RANGE_PATTERNS", + default_level: Warn, + desc: "manually writing range patterns using a combined OR pattern (`|`)", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TUPLE_ARRAY_CONVERSIONS", + default_level: Allow, + desc: "checks for tuple<=>array conversions that are not done with `.into()`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_IS_INFINITE", + default_level: Warn, + desc: "use dedicated method to check if a float is infinite", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::FOUR_FORWARD_SLASHES", + default_level: Warn, + desc: "comments with 4 forward slashes (`////`) likely intended to be doc comments (`///`)", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ERROR_IMPL_ERROR", + default_level: Allow, + desc: "exported types named `Error` that implement `Error`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ABSOLUTE_PATHS", + default_level: Allow, + desc: "checks for usage of an item without a `use` statement", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REDUNDANT_LOCALS", + default_level: Deny, + desc: "redundant redefinition of a local binding", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IGNORED_UNIT_PATTERNS", + default_level: Allow, + desc: "suggest replacing `_` by `()` in patterns where appropriate", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::RESERVE_AFTER_INITIALIZATION", + default_level: Warn, + desc: "`reserve` called immediately after `Vec` creation", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IMPLIED_BOUNDS_IN_IMPLS", + default_level: Warn, + desc: "specifying bounds that are implied by other bounds in `impl Trait` type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MISSING_ASSERTS_FOR_INDEXING", + default_level: Allow, + desc: "indexing into a slice multiple times without an `assert`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR", + default_level: Warn, + desc: "using `map`/`map_err` on `Option` or `Result` constructors", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS", + default_level: Warn, + desc: "taking a reference that is going to be automatically dereferenced", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_HASH_ONE", + default_level: Warn, + desc: "manual implementations of `BuildHasher::hash_one`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ITER_WITHOUT_INTO_ITER", + default_level: Allow, + desc: "implementing `iter(_mut)` without an associated `IntoIterator for (&|&mut) Type` impl", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INTO_ITER_WITHOUT_ITER", + default_level: Allow, + desc: "implementing `IntoIterator for (&|&mut) Type` without an inherent `iter(_mut)` method", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ITER_OVER_HASH_TYPE", + default_level: Allow, + desc: "iterating over unordered hash-based types (`HashMap` and `HashSet`)", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES", + default_level: Deny, + desc: "ensures that the semantics of `Borrow` for `Hash` are satisfied when `Borrow` and `Borrow<[u8]>` are implemented", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::REPEAT_VEC_WITH_CAPACITY", + default_level: Warn, + desc: "repeating a `Vec::with_capacity` expression which does not retain capacity", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNINHABITED_REFERENCES", + default_level: Allow, + desc: "reference to uninhabited type", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INEFFECTIVE_OPEN_OPTIONS", + default_level: Warn, + desc: "usage of both `write(true)` and `append(true)` on same `OpenOptions`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::UNCONDITIONAL_RECURSION", + default_level: Warn, + desc: "detect unconditional recursion in some traits implementation", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::PUB_UNDERSCORE_FIELDS", + default_level: Allow, + desc: "struct field prefixed with underscore and marked public", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST", + default_level: Warn, + desc: "suggest using `const` in `thread_local!` macro", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INCOMPATIBLE_MSRV", + default_level: Warn, + desc: "ensures that all items used in the crate are available for the current MSRV", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::TO_STRING_TRAIT_IMPL", + default_level: Warn, + desc: "check for direct implementations of `ToString`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ASSIGNING_CLONES", + default_level: Warn, + desc: "assigning the result of cloning may be inefficient", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::ZERO_REPEAT_SIDE_EFFECTS", + default_level: Warn, + desc: "usage of zero-sized initializations of arrays or vecs causing side effects", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::MANUAL_UNWRAP_OR_DEFAULT", + default_level: Warn, + desc: "check if a `match` or `if let` can be simplified with `unwrap_or_default`", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { + name: "clippy::INTEGER_DIVISION_REMAINDER_USED", + default_level: Allow, + desc: "use of disallowed default division and remainder operations", + edition_lint_opts: None, + report_in_external_macro: true, + future_incompatible: None, + is_loaded: true, + feature_gate: None, + crate_level_only: false, +} +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:15:20 + | +LL | const REF: &i32 = &ARR[idx()]; // This should be linted, since `suppress-restriction-lint-in-const` default is false. + | ^^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + = note: the suggestion might not be applicable in constant blocks + = note: `-D clippy::indexing-slicing` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:28:5 + | +LL | x[index]; + | ^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:31:5 + | +LL | x[4]; + | ^^^^ + | + = note: `-D clippy::out-of-bounds-indexing` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::out_of_bounds_indexing)]` + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:33:5 + | +LL | x[1 << 3]; + | ^^^^^^^^^ + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:44:14 + | +LL | const { &ARR[idx()] }; + | ^^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + = note: the suggestion might not be applicable in constant blocks + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:47:14 + | +LL | const { &ARR[idx4()] }; + | ^^^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + = note: the suggestion might not be applicable in constant blocks + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:54:5 + | +LL | y[4]; + | ^^^^ + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:57:5 + | +LL | v[0]; + | ^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:59:5 + | +LL | v[10]; + | ^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:61:5 + | +LL | v[1 << 3]; + | ^^^^^^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:69:5 + | +LL | x[N]; + | ^^^^ + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:72:5 + | +LL | v[N]; + | ^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: indexing may panic + --> tests/ui/indexing_slicing_index.rs:74:5 + | +LL | v[M]; + | ^^^^ + | + = help: consider using `.get(n)` or `.get_mut(n)` instead + +error: index is out of bounds + --> tests/ui/indexing_slicing_index.rs:78:13 + | +LL | let _ = x[4]; + | ^^^^ + +error: aborting due to 14 previous errors + + +full stdout: + + +FAILURES: + tests/ui/indexing_slicing_index.rs + +test result: FAIL. 1 failed; 972 filtered out; + + + +Command did not execute successfully. +Expected success, got: exit status: 101 +Add `-v` to see more details. + From f5c0820cc986adeecfd17e52fa918523fcfa7224 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Tue, 14 May 2024 13:13:50 +0200 Subject: [PATCH 13/14] Prepare for WIP PR opening --- .gitignore | 2 +- .../rustc_builtin_macros/src/compile_error.rs | 4 +- compiler/rustc_builtin_macros/src/errors.rs | 8 ++-- compiler/rustc_lint/src/late.rs | 15 ++---- compiler/rustc_lint/src/levels.rs | 47 ------------------- compiler/rustc_parse/src/parser/attr.rs | 2 +- 6 files changed, 11 insertions(+), 67 deletions(-) diff --git a/.gitignore b/.gitignore index 42d5ab266d3e4..485968d9c56ff 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,7 @@ Session.vim !/tests/run-make/thumb-none-qemu/example/.cargo ## Configuration -config.toml +/config.toml /Makefile config.mk config.stamp diff --git a/compiler/rustc_builtin_macros/src/compile_error.rs b/compiler/rustc_builtin_macros/src/compile_error.rs index 2ff6834223523..a08e8b2819b56 100644 --- a/compiler/rustc_builtin_macros/src/compile_error.rs +++ b/compiler/rustc_builtin_macros/src/compile_error.rs @@ -18,8 +18,8 @@ pub(crate) fn expand_compile_error<'cx>( Err(guar) => return ExpandResult::Ready(DummyResult::any(sp, guar)), }; - // #[expect(rustc::diagnostic_outside_of_impl, reason = "diagnostic message is specified by user")] - // #[expect(rustc::untranslatable_diagnostic, reason = "diagnostic message is specified by user")] + #[expect(rustc::diagnostic_outside_of_impl, reason = "diagnostic message is specified by user")] + #[expect(rustc::untranslatable_diagnostic, reason = "diagnostic message is specified by user")] let guar = cx.dcx().span_err(sp, var.to_string()); ExpandResult::Ready(DummyResult::any(sp, guar)) diff --git a/compiler/rustc_builtin_macros/src/errors.rs b/compiler/rustc_builtin_macros/src/errors.rs index 2d0840f2a9fa0..d157703723beb 100644 --- a/compiler/rustc_builtin_macros/src/errors.rs +++ b/compiler/rustc_builtin_macros/src/errors.rs @@ -428,10 +428,10 @@ pub(crate) struct EnvNotDefinedWithUserMessage { impl<'a, G: EmissionGuarantee> Diagnostic<'a, G> for EnvNotDefinedWithUserMessage { #[track_caller] fn into_diag(self, dcx: &'a DiagCtxt, level: Level) -> Diag<'a, G> { - // #[expect( - // rustc::untranslatable_diagnostic, - // reason = "cannot translate user-provided messages" - // )] + #[expect( + rustc::untranslatable_diagnostic, + reason = "cannot translate user-provided messages" + )] let mut diag = Diag::new(dcx, level, self.msg_from_user.to_string()); diag.span(self.span); diag diff --git a/compiler/rustc_lint/src/late.rs b/compiler/rustc_lint/src/late.rs index a92994d1af3d5..7a31c6cb44465 100644 --- a/compiler/rustc_lint/src/late.rs +++ b/compiler/rustc_lint/src/late.rs @@ -376,7 +376,9 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>( // let lints_to_emit = &lints_that_can_emit.0; // let lints_allowed = &lints_that_can_emit.1; - // Now, we'll filtered passes in a way that discards any lint that + // Now, we'll filtered passes in a way that discards any lint that won't trigger. + // If any lint is a given pass is detected to be emitted, we will keep that pass. + // Otherwise, we don't let mut filtered_passes: Vec>> = passes .into_iter() .filter(|pass| { @@ -390,17 +392,6 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>( || (!lints_allowed.contains(&lint_name) && lint.default_level != crate::Level::Allow) }) - // if passes_lints[i].iter().any(|&lint| { - // let symbol = - // &lint.name.to_lowercase() - // // Doing some calculations here to account for those separators - // [lint.name.find("::").unwrap_or(lint.name.len() - 2) + 2..] - - // // ^^^ Expensive, but more expensive would be having to - // // cast every element to &str - - // (!lints_allowed.contains(&lint.name) - // && lint.default_level != crate::Level::Allow) }) .collect(); diff --git a/compiler/rustc_lint/src/levels.rs b/compiler/rustc_lint/src/levels.rs index 64d837225bb6c..d32ac883178f1 100644 --- a/compiler/rustc_lint/src/levels.rs +++ b/compiler/rustc_lint/src/levels.rs @@ -520,53 +520,6 @@ impl<'tcx> LintLevelMinimum<'tcx> { } } -// impl<'tcx> Visitor<'tcx> for LintLevelMinimum<'tcx> { -// type NestedFilter = nested_filter::All; - -// fn nested_visit_map(&mut self) -> Self::Map { -// self.tcx.hir() -// } - -// fn visit_attribute(&mut self, attribute: &'tcx ast::Attribute) { -// if let Some(meta) = attribute.meta() { -// if [sym::warn, sym::deny, sym::forbid, sym::expect] -// .iter() -// .any(|kind| meta.has_name(*kind)) -// { -// // SAFETY: Lint attributes are always a metalist inside a -// // metalist (even with just one lint). -// for meta_list in meta.meta_item_list().unwrap() { -// // If it's a tool lint (e.g. clippy::my_clippy_lint) -// if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { -// if meta_item.path.segments.len() == 1 { -// self.lints_to_emit.push( -// // SAFETY: Lint attributes can only have literals -// meta_list.ident().unwrap().name, -// ); -// } else { -// self.lints_to_emit.push(meta_item.path.segments[1].ident.name); -// } -// } -// } -// // We handle #![allow]s differently, as these remove checking rather than adding. -// } else if meta.has_name(sym::allow) -// && let ast::AttrStyle::Inner = attribute.style -// { -// for meta_list in meta.meta_item_list().unwrap() { -// // If it's a tool lint (e.g. clippy::my_clippy_lint) -// if let ast::NestedMetaItem::MetaItem(meta_item) = meta_list { -// if meta_item.path.segments.len() == 1 { -// self.lints_allowed.push(meta_list.name_or_empty()) -// } else { -// self.lints_allowed.push(meta_item.path.segments[1].ident.name); -// } -// } -// } -// } -// } -// } -// } - pub struct LintLevelsBuilder<'s, P> { sess: &'s Session, features: &'s Features, diff --git a/compiler/rustc_parse/src/parser/attr.rs b/compiler/rustc_parse/src/parser/attr.rs index 51a314af13905..535c8de12e261 100644 --- a/compiler/rustc_parse/src/parser/attr.rs +++ b/compiler/rustc_parse/src/parser/attr.rs @@ -139,7 +139,7 @@ impl<'a> Parser<'a> { && let Some(meta) = attr.meta() { if let Some(first) = meta.path.segments.first() { - if [sym::warn, sym::deny, sym::forbid] + if [sym::warn, sym::deny, sym::forbid, sym::expect] .iter() .any(|symbol| first.ident.name == *symbol) { From 7606f89efe23bf15454e40a06f0e2860130a6960 Mon Sep 17 00:00:00 2001 From: blyxyas Date: Tue, 14 May 2024 13:25:08 +0200 Subject: [PATCH 14/14] m --- ice-9463-logs | 0 ice-9463-logs1 | 98 - ice-9463-logs2 | 0 ice-9463-logs3 | 186 -- ice-9463-logs4 | 7209 ------------------------------------------------ 5 files changed, 7493 deletions(-) delete mode 100644 ice-9463-logs delete mode 100644 ice-9463-logs1 delete mode 100644 ice-9463-logs2 delete mode 100644 ice-9463-logs3 delete mode 100644 ice-9463-logs4 diff --git a/ice-9463-logs b/ice-9463-logs deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/ice-9463-logs1 b/ice-9463-logs1 deleted file mode 100644 index 389d94507d00d..0000000000000 --- a/ice-9463-logs1 +++ /dev/null @@ -1,98 +0,0 @@ -Building stage0 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) -Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) -Building stage1 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) -Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) -Uplifting library (stage1 -> stage2) -Uplifting rustc (stage1 -> stage3) -Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) -Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) -Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -FAILED TEST: tests/ui/crashes/ice-9463.rs -command: CLIPPY_CONF_DIR="tests" RUSTC_ICE="0" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Dwarnings" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-0cd35ebd41eb72f1.rlib" "--extern=clippy_lints=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-c96f175cccb2d539.rlib" "--extern=clippy_utils=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-fd859a3ecf6f55ed.rlib" "--extern=futures=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-0b71f644e2bc8726.rlib" "--extern=if_chain=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-bac5d36c307485ee.rlib" "--extern=parking_lot=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-859ce241e5f0659a.rlib" "--extern=quote=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-eb8380dd0960802e.rlib" "--extern=regex=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6719df5da40cd34c.rlib" "--extern=serde=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-2030fb584e4f27dc.rlib" "--extern=serde_derive=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5716afe404137539.so" "--extern=syn=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-152f3ca11d174b39.rlib" "--extern=tokio=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-77f2f32d01011546.rlib" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui/crashes" "tests/ui/crashes/ice-9463.rs" "--edition" "2021" - -error: actual output differed from expected -Execute `cargo uibless` to update `tests/ui/crashes/ice-9463.stderr` to the actual output ---- tests/ui/crashes/ice-9463.stderr -+++ --error: this arithmetic operation will overflow -- --> tests/ui/crashes/ice-9463.rs:3:14 -- | --LL | let _x = -1_i32 >> -1; -- | ^^^^^^^^^^^^ attempt to shift right by `-1_i32`, which would overflow -- | --note: the lint level is defined here -- --> tests/ui/crashes/ice-9463.rs:1:9 -- | --LL | #![deny(arithmetic_overflow)] -- | ^^^^^^^^^^^^^^^^^^^ -- --error: this arithmetic operation will overflow -- --> tests/ui/crashes/ice-9463.rs:5:14 -- | --LL | let _y = 1u32 >> 10000000000000u32; -- | ^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to shift right by `1316134912_u32`, which would overflow -- - error: literal out of range for `u32` - --> tests/ui/crashes/ice-9463.rs:5:22 -... 5 lines skipped ... - = note: `#[deny(overflowing_literals)]` on by default - --error: aborting due to 3 previous errors -+error: aborting due to 1 previous error - - - -error: `this arithmetic operation will overflow` not found in diagnostics on line 3 - --> tests/ui/crashes/ice-9463.rs:4:17 - | -4 | //~^ ERROR: this arithmetic operation will overflow - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern - | - -error: `this arithmetic operation will overflow` not found in diagnostics on line 5 - --> tests/ui/crashes/ice-9463.rs:6:17 - | -6 | //~^ ERROR: this arithmetic operation will overflow - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected because of this pattern - | - -full stderr: -error: literal out of range for `u32` - --> tests/ui/crashes/ice-9463.rs:5:22 - | -LL | let _y = 1u32 >> 10000000000000u32; - | ^^^^^^^^^^^^^^^^^ - | - = note: the literal `10000000000000u32` does not fit into the type `u32` whose range is `0..=4294967295` - = note: `#[deny(overflowing_literals)]` on by default - -error: aborting due to 1 previous error - - -full stdout: - - -FAILURES: - tests/ui/crashes/ice-9463.rs - -test result: FAIL. 1 failed; 972 filtered out; - - - -Command did not execute successfully. -Expected success, got: exit status: 101 -Add `-v` to see more details. - diff --git a/ice-9463-logs2 b/ice-9463-logs2 deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/ice-9463-logs3 b/ice-9463-logs3 deleted file mode 100644 index b5628c5e9d47e..0000000000000 --- a/ice-9463-logs3 +++ /dev/null @@ -1,186 +0,0 @@ -Building stage0 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) -Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) -WARNING: Using a potentially old libstd. This may not behave well. -WARNING: Using a potentially old librustc. This may not behave well. -WARNING: Use `--keep-stage-std` if you want to rebuild the compiler when it changes -Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) -Uplifting library (stage1 -> stage2) -Uplifting rustc (stage1 -> stage3) -Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) -Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) -Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -FAILED TEST: tests/ui/indexing_slicing_index.rs -command: CLIPPY_CONF_DIR="tests" RUSTC_ICE="0" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Dwarnings" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-0cd35ebd41eb72f1.rlib" "--extern=clippy_lints=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-c96f175cccb2d539.rlib" "--extern=clippy_utils=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-fd859a3ecf6f55ed.rlib" "--extern=futures=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-0b71f644e2bc8726.rlib" "--extern=if_chain=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-bac5d36c307485ee.rlib" "--extern=parking_lot=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-859ce241e5f0659a.rlib" "--extern=quote=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-eb8380dd0960802e.rlib" "--extern=regex=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6719df5da40cd34c.rlib" "--extern=serde=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-2030fb584e4f27dc.rlib" "--extern=serde_derive=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5716afe404137539.so" "--extern=syn=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-152f3ca11d174b39.rlib" "--extern=tokio=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-77f2f32d01011546.rlib" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/indexing_slicing_index.rs" "-Zdeduplicate-diagnostics=yes" "--edition" "2021" - -error: actual output differed from expected -Execute `cargo uibless` to update `tests/ui/indexing_slicing_index.stderr` to the actual output ---- tests/ui/indexing_slicing_index.stderr -+++ - error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:15:20 -... 7 lines skipped ... - = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` - --error[E0080]: evaluation of `main::{constant#3}` failed -- --> tests/ui/indexing_slicing_index.rs:47:14 -- | --LL | const { &ARR[idx4()] }; -- | ^^^^^^^^^^^ index out of bounds: the length is 2 but the index is 4 -- --note: erroneous constant encountered -- --> tests/ui/indexing_slicing_index.rs:47:5 -- | --LL | const { &ARR[idx4()] }; -- | ^^^^^^^^^^^^^^^^^^^^^^ -- - error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:28:5 -... 95 lines skipped ... - | ^^^^ - --error: aborting due to 15 previous errors -+error: aborting due to 14 previous errors - --For more information about this error, try `rustc --explain E0080`. - - -full stderr: -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:15:20 - | -LL | const REF: &i32 = &ARR[idx()]; // This should be linted, since `suppress-restriction-lint-in-const` default is false. - | ^^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - = note: the suggestion might not be applicable in constant blocks - = note: `-D clippy::indexing-slicing` implied by `-D warnings` - = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:28:5 - | -LL | x[index]; - | ^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:31:5 - | -LL | x[4]; - | ^^^^ - | - = note: `-D clippy::out-of-bounds-indexing` implied by `-D warnings` - = help: to override `-D warnings` add `#[allow(clippy::out_of_bounds_indexing)]` - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:33:5 - | -LL | x[1 << 3]; - | ^^^^^^^^^ - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:44:14 - | -LL | const { &ARR[idx()] }; - | ^^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - = note: the suggestion might not be applicable in constant blocks - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:47:14 - | -LL | const { &ARR[idx4()] }; - | ^^^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - = note: the suggestion might not be applicable in constant blocks - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:54:5 - | -LL | y[4]; - | ^^^^ - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:57:5 - | -LL | v[0]; - | ^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:59:5 - | -LL | v[10]; - | ^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:61:5 - | -LL | v[1 << 3]; - | ^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:69:5 - | -LL | x[N]; - | ^^^^ - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:72:5 - | -LL | v[N]; - | ^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:74:5 - | -LL | v[M]; - | ^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:78:13 - | -LL | let _ = x[4]; - | ^^^^ - -error: aborting due to 14 previous errors - - -full stdout: - - -FAILURES: - tests/ui/indexing_slicing_index.rs - -test result: FAIL. 1 failed; 972 filtered out; - - - -Command did not execute successfully. -Expected success, got: exit status: 101 -Add `-v` to see more details. - diff --git a/ice-9463-logs4 b/ice-9463-logs4 deleted file mode 100644 index 61c6bc77fe26f..0000000000000 --- a/ice-9463-logs4 +++ /dev/null @@ -1,7209 +0,0 @@ -Building stage0 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu) -Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`) -Building stage1 library artifacts (x86_64-unknown-linux-gnu) -Building compiler artifacts (stage1 -> stage2, x86_64-unknown-linux-gnu) -Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) -Uplifting library (stage1 -> stage2) -Uplifting rustc (stage1 -> stage3) -Building tool clippy-driver (stage2 -> stage3, x86_64-unknown-linux-gnu) -Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) -Testing clippy (stage2 -> stage3, x86_64-unknown-linux-gnu) - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -running 1 test -. -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - -FAILED TEST: tests/ui/indexing_slicing_index.rs -command: CLIPPY_CONF_DIR="tests" RUSTC_ICE="0" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/clippy-driver" "--error-format=json" "--emit=metadata" "-Aunused" "-Ainternal_features" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Dwarnings" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps" "--extern=clippy_config=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_config-0cd35ebd41eb72f1.rlib" "--extern=clippy_lints=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_lints-c96f175cccb2d539.rlib" "--extern=clippy_utils=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libclippy_utils-fd859a3ecf6f55ed.rlib" "--extern=futures=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libfutures-0b71f644e2bc8726.rlib" "--extern=if_chain=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libif_chain-0ea1dd1509ea0022.rlib" "--extern=itertools=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libitertools-bac5d36c307485ee.rlib" "--extern=parking_lot=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libparking_lot-859ce241e5f0659a.rlib" "--extern=quote=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libquote-eb8380dd0960802e.rlib" "--extern=regex=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libregex-6719df5da40cd34c.rlib" "--extern=serde=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libserde-2030fb584e4f27dc.rlib" "--extern=serde_derive=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps/libserde_derive-5716afe404137539.so" "--extern=syn=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libsyn-152f3ca11d174b39.rlib" "--extern=tokio=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/deps/libtokio-77f2f32d01011546.rlib" "-Ldependency=/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" "--out-dir" "/home/meow/git/rust/build/x86_64-unknown-linux-gnu/stage2-tools/ui_test/tests/ui" "tests/ui/indexing_slicing_index.rs" "-Zdeduplicate-diagnostics=yes" "--edition" "2021" - -error: actual output differed from expected -Execute `cargo uibless` to update `tests/ui/indexing_slicing_index.stderr` to the actual output ---- tests/ui/indexing_slicing_index.stderr -+++ -+[compiler/rustc_lint/src/late.rs:460:5] "FDDDDDDDDDDDDDDDDDDDDDDDd" = "FDDDDDDDDDDDDDDDDDDDDDDDd" -+[compiler/rustc_lint/src/late.rs:461:5] &lints_to_emit = [ -+ "warnings", -+ "indexing_slicing", -+ "out_of_bounds_indexing", -+] -+[compiler/rustc_lint/src/late.rs:461:5] lints_allowed = [ -+ "unused", -+ "internal_features", -+ "unconditional_panic", -+ "no_effect", -+ "unnecessary_operation", -+ "useless_vec", -+] -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ARITHMETIC_SIDE_EFFECTS", -+ default_level: Allow, -+ desc: "any arithmetic expression that can cause side effects like overflows or panics", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::AWAIT_HOLDING_LOCK", -+ default_level: Warn, -+ desc: "inside an async function, holding a `MutexGuard` while calling `await`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SERDE_API_MISUSE", -+ default_level: Deny, -+ desc: "various things that will negatively affect your serde experience", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BOX_COLLECTION", -+ default_level: Warn, -+ desc: "usage of `Box>`, vector elements are already on the heap", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NONMINIMAL_BOOL", -+ default_level: Warn, -+ desc: "boolean expressions that can be written more concisely", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT", -+ default_level: Deny, -+ desc: "C-like enums that are `repr(isize/usize)` and have values that don't fit into an `i32`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXCESSIVE_PRECISION", -+ default_level: Warn, -+ desc: "excessive precision for float literal", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PTR_ARG", -+ default_level: Warn, -+ desc: "fn arguments of the type `&Vec<...>` or `&String`, suggesting to use `&[...]` or `&str` instead, respectively", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_BOOL", -+ default_level: Warn, -+ desc: "if-statements with plain booleans in the then- and else-clause, e.g., `if p { true } else { false }`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BOOL_COMPARISON", -+ default_level: Warn, -+ desc: "comparing a variable to a boolean, e.g., `if x == true` or `if x != true`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_FOR_EACH", -+ default_level: Allow, -+ desc: "using `for_each` where a `for` loop would be simpler", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TOPLEVEL_REF_ARG", -+ default_level: Warn, -+ desc: "an entire binding declared as `ref`, in a function argument or a `let` statement", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_CLOSURE", -+ default_level: Warn, -+ desc: "redundant closures, i.e., `|a| foo(a)` (which can be written as just `foo`)", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MUT_MUT", -+ default_level: Allow, -+ desc: "usage of double-mut refs, e.g., `&mut &mut ...`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_MUT_PASSED", -+ default_level: Warn, -+ desc: "an argument passed as a mutable reference although the callee only demands an immutable reference", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SIGNIFICANT_DROP_TIGHTENING", -+ default_level: Allow, -+ desc: "Searches for elements marked with `#[clippy::has_significant_drop]` that could be early dropped but are in fact dropped at the end of their scopes", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LEN_ZERO", -+ default_level: Warn, -+ desc: "checking `.len() == 0` or `.len() > 0` (or similar) when `.is_empty()` could be used instead", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON", -+ default_level: Allow, -+ desc: "ensures that all `allow` and `expect` attributes have a reason", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INLINE_ALWAYS", -+ default_level: Allow, -+ desc: "use of `#[inline(always)]`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DEPRECATED_SEMVER", -+ default_level: Deny, -+ desc: "use of `#[deprecated(since = \"x\")]` where x is not semver", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BLOCKS_IN_CONDITIONS", -+ default_level: Warn, -+ desc: "useless or complex blocks that can be eliminated in conditions", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INVISIBLE_CHARACTERS", -+ default_level: Deny, -+ desc: "using an invisible character in a string literal, which is confusing", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNINIT_VEC", -+ default_level: Deny, -+ desc: "Vec with uninitialized data", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNIT_RETURN_EXPECTING_ORD", -+ default_level: Deny, -+ desc: "fn arguments of type Fn(...) -> Ord returning the unit type ().", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRING_ADD", -+ default_level: Allow, -+ desc: "using `x + ..` where x is a `String` instead of `push_str()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRING_ADD_ASSIGN", -+ default_level: Allow, -+ desc: "using `x = x + ..` where x is a `String` instead of `push_str()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRING_SLICE", -+ default_level: Allow, -+ desc: "slicing a string", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IMPLICIT_RETURN", -+ default_level: Allow, -+ desc: "use a return statement like `return expr` instead of an expression", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IMPLICIT_SATURATING_SUB", -+ default_level: Warn, -+ desc: "Perform saturating subtraction instead of implicitly checking lower bound of data type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DEFAULT_NUMERIC_FALLBACK", -+ default_level: Allow, -+ desc: "usage of unconstrained numeric literals which may cause default numeric fallback.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR", -+ default_level: Allow, -+ desc: "the order of the field init shorthand is inconsistent with the order in the struct definition", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NON_OCTAL_UNIX_PERMISSIONS", -+ default_level: Deny, -+ desc: "use of non-octal value to set unix file permissions, which will be translated into octal", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::APPROX_CONSTANT", -+ default_level: Deny, -+ desc: "the approximate of a known float constant (in `std::fXX::consts`)", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNWRAP_USED", -+ default_level: Allow, -+ desc: "using `.unwrap()` on `Result` or `Option`, which should at least get a better message using `expect()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXPECT_USED", -+ default_level: Allow, -+ desc: "using `.expect()` on `Result` or `Option`, which might be better handled", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SHOULD_IMPLEMENT_TRAIT", -+ default_level: Warn, -+ desc: "defining a method that should be implementing a std trait", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SINGLE_MATCH", -+ default_level: Warn, -+ desc: "a `match` statement with a single nontrivial arm (i.e., where the other arm is `_ => {}`) instead of `if let`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_NON_EXHAUSTIVE", -+ default_level: Warn, -+ desc: "manual implementations of the non-exhaustive pattern can be simplified using #[non_exhaustive]", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_STRIP", -+ default_level: Warn, -+ desc: "suggests using `strip_{prefix,suffix}` over `str::{starts,ends}_with` and slicing", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CHECKED_CONVERSIONS", -+ default_level: Allow, -+ desc: "`try_from` could replace manual bounds checking when casting", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MEM_REPLACE_OPTION_WITH_NONE", -+ default_level: Warn, -+ desc: "replacing an `Option` with `None` instead of `take()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::RANGE_PLUS_ONE", -+ default_level: Allow, -+ desc: "`x..(y+1)` reads better as `x..=y`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::RANGE_MINUS_ONE", -+ default_level: Allow, -+ desc: "`x..=(y-1)` reads better as `x..y`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REVERSED_EMPTY_RANGES", -+ default_level: Deny, -+ desc: "reversing the limits of range expressions, resulting in empty ranges", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FROM_OVER_INTO", -+ default_level: Warn, -+ desc: "Warns on implementations of `Into<..>` to use `From<..>`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::USE_SELF", -+ default_level: Allow, -+ desc: "unnecessary structure name repetition whereas `Self` is applicable", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_CONST_FOR_FN", -+ default_level: Allow, -+ desc: "Lint functions definitions that could be made `const fn`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_QUESTION_MARK", -+ default_level: Warn, -+ desc: "Suggest `value.inner_option` instead of `Some(value.inner_option?)`. The same goes for `Result`.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CAST_PRECISION_LOSS", -+ default_level: Allow, -+ desc: "casts that cause loss of precision, e.g., `x as f32` where `x: u64`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CAST_SIGN_LOSS", -+ default_level: Allow, -+ desc: "casts from signed types to unsigned types, e.g., `x as u32` where `x: i32`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CAST_POSSIBLE_TRUNCATION", -+ default_level: Allow, -+ desc: "casts that may cause truncation of the value, e.g., `x as u8` where `x: u32`, or `x as i32` where `x: f32`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CAST_POSSIBLE_WRAP", -+ default_level: Allow, -+ desc: "casts that may cause wrapping around the value, e.g., `x as i32` where `x: u32` and `x > i32::MAX`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CAST_LOSSLESS", -+ default_level: Allow, -+ desc: "casts using `as` that are known to be lossless, e.g., `x as u64` where `x: u8`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CAST_PTR_ALIGNMENT", -+ default_level: Allow, -+ desc: "cast from a pointer to a more-strictly-aligned pointer", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CAST_SLICE_DIFFERENT_SIZES", -+ default_level: Deny, -+ desc: "casting using `as` between raw pointers to slices of types with different sizes", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SIZE_OF_IN_ELEMENT_COUNT", -+ default_level: Deny, -+ desc: "using `size_of::` or `size_of_val::` where a count of elements of `T` is expected", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SAME_NAME_METHOD", -+ default_level: Allow, -+ desc: "two method with same name", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INDEX_REFUTABLE_SLICE", -+ default_level: Allow, -+ desc: "avoid indexing on slices which could be destructed", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SHADOW_SAME", -+ default_level: Allow, -+ desc: "rebinding a name to itself, e.g., `let mut x = &mut x`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SHADOW_REUSE", -+ default_level: Allow, -+ desc: "rebinding a name to an expression that re-uses the original value, e.g., `let x = x + 1`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SHADOW_UNRELATED", -+ default_level: Allow, -+ desc: "rebinding a name without even using the original value", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LET_UNIT_VALUE", -+ default_level: Warn, -+ desc: "creating a `let` binding to a value of unit type, which usually can't be used afterwards", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_MEMCPY", -+ default_level: Warn, -+ desc: "manually copying items between slices", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MAIN_RECURSION", -+ default_level: Warn, -+ desc: "recursion using the entrypoint", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_LIFETIMES", -+ default_level: Warn, -+ desc: "using explicit lifetimes for references in function arguments when elision rules would allow omitting them", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MAP_ENTRY", -+ default_level: Warn, -+ desc: "use of `contains_key` followed by `insert` on a `HashMap` or `BTreeMap`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MIN_MAX", -+ default_level: Deny, -+ desc: "`min(_, max(_, _))` (or vice versa) with bounds clamping the result to a constant", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ZERO_DIVIDED_BY_ZERO", -+ default_level: Warn, -+ desc: "usage of `0.0 / 0.0` to obtain NaN instead of `f32::NAN` or `f64::NAN`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MUTEX_ATOMIC", -+ default_level: Allow, -+ desc: "using a mutex where an atomic value could be used instead.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MUTEX_INTEGER", -+ default_level: Allow, -+ desc: "using a mutex for an integer type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_UPDATE", -+ default_level: Warn, -+ desc: "using `Foo { ..base }` when there are no missing fields", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_BORROWED_REFERENCE", -+ default_level: Warn, -+ desc: "destructuring a reference and borrowing the inner value", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BORROW_DEREF_REF", -+ default_level: Warn, -+ desc: "deref on an immutable reference returns the same type as itself", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NO_EFFECT", -+ default_level: Warn, -+ desc: "statements with no effect", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_OPERATION", -+ default_level: Warn, -+ desc: "outer expressions with no effect", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NO_EFFECT_UNDERSCORE_BINDING", -+ default_level: Allow, -+ desc: "binding to `_` prefixed variable with no side-effect", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TEMPORARY_ASSIGNMENT", -+ default_level: Warn, -+ desc: "assignments to temporaries", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CROSSPOINTER_TRANSMUTE", -+ default_level: Warn, -+ desc: "transmutes that have to or from types that are a pointer to the other", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::COGNITIVE_COMPLEXITY", -+ default_level: Allow, -+ desc: "functions that should be split up into multiple functions", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BOXED_LOCAL", -+ default_level: Warn, -+ desc: "using `Box` where unnecessary", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::USELESS_VEC", -+ default_level: Warn, -+ desc: "useless `vec!`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNIMPLEMENTED", -+ default_level: Allow, -+ desc: "`unimplemented!` should not be present in production code", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNREACHABLE", -+ default_level: Allow, -+ desc: "usage of the `unreachable!` macro", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TODO", -+ default_level: Allow, -+ desc: "`todo!` should not be present in production code", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PANIC", -+ default_level: Allow, -+ desc: "usage of the `panic!` macro", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRING_LIT_AS_BYTES", -+ default_level: Allow, -+ desc: "calling `as_bytes` on a string literal instead of using a byte string literal", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRING_FROM_UTF8_AS_BYTES", -+ default_level: Warn, -+ desc: "casting string slices to byte slices and back", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXPL_IMPL_CLONE_ON_COPY", -+ default_level: Allow, -+ desc: "implementing `Clone` explicitly on `Copy` types", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DERIVED_HASH_WITH_MANUAL_EQ", -+ default_level: Deny, -+ desc: "deriving `Hash` but implementing `PartialEq` explicitly", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DERIVABLE_IMPLS", -+ default_level: Warn, -+ desc: "manual implementation of the `Default` trait which is equal to a derive", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DROP_NON_DROP", -+ default_level: Warn, -+ desc: "call to `std::mem::drop` with a value which does not implement `Drop`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EMPTY_ENUM", -+ default_level: Allow, -+ desc: "enum with no variants", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INVALID_UPCAST_COMPARISONS", -+ default_level: Allow, -+ desc: "a comparison involving an upcast which is always true or false", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INVALID_REGEX", -+ default_level: Deny, -+ desc: "invalid regular expressions", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IFS_SAME_COND", -+ default_level: Deny, -+ desc: "consecutive `if`s with the same condition", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::COPY_ITERATOR", -+ default_level: Allow, -+ desc: "implementing `Iterator` on a `Copy` type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::USELESS_FORMAT", -+ default_level: Warn, -+ desc: "useless use of `format!`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_SWAP", -+ default_level: Warn, -+ desc: "manual swap of two variables", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::OVERFLOW_CHECK_CONDITIONAL", -+ default_level: Warn, -+ desc: "overflow checks inspired by C which are likely to panic", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEW_WITHOUT_DEFAULT", -+ default_level: Warn, -+ desc: "`pub fn new() -> Self` method without `Default` implementation", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DISALLOWED_NAMES", -+ default_level: Warn, -+ desc: "usage of a disallowed/placeholder name", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TOO_MANY_ARGUMENTS", -+ default_level: Warn, -+ desc: "functions with too many arguments", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DOC_LINK_WITH_QUOTES", -+ default_level: Allow, -+ desc: "possible typo for an intra-doc link", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DOC_MARKDOWN", -+ default_level: Allow, -+ desc: "presence of `_`, `::` or camel-case outside backticks in documentation", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_SAFETY_DOC", -+ default_level: Warn, -+ desc: "`pub unsafe fn` without `# Safety` docs", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEG_MULTIPLY", -+ default_level: Warn, -+ desc: "multiplying integers by `-1`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::USELESS_LET_IF_SEQ", -+ default_level: Allow, -+ desc: "unidiomatic `let mut` declaration followed by initialization in `if`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MIXED_READ_WRITE_IN_EXPRESSION", -+ default_level: Allow, -+ desc: "whether a variable read occurs before a write depends on sub-expression evaluation order", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DIVERGING_SUB_EXPRESSION", -+ default_level: Warn, -+ desc: "whether an expression contains a diverging sub expression", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS", -+ default_level: Allow, -+ desc: "detects missing documentation for private members", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS", -+ default_level: Allow, -+ desc: "detects missing `#[inline]` attribute for public callables (functions, trait methods, methods...)", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXHAUSTIVE_ENUMS", -+ default_level: Allow, -+ desc: "detects exported enums that have not been marked #[non_exhaustive]", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXHAUSTIVE_STRUCTS", -+ default_level: Allow, -+ desc: "detects exported structs that have not been marked #[non_exhaustive]", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MATCH_RESULT_OK", -+ default_level: Warn, -+ desc: "usage of `ok()` in `let Some(pat)` statements is unnecessary, match on `Ok(pat)` instead", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PARTIALEQ_NE_IMPL", -+ default_level: Warn, -+ desc: "re-implementing `PartialEq::ne`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNUSED_IO_AMOUNT", -+ default_level: Deny, -+ desc: "unused written/read amount", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LARGE_ENUM_VARIANT", -+ default_level: Warn, -+ desc: "large size difference between variants on an enum", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXPLICIT_WRITE", -+ default_level: Warn, -+ desc: "using the `write!()` family of functions instead of the `print!()` family of functions, when using the latter would work", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_PASS_BY_VALUE", -+ default_level: Allow, -+ desc: "functions taking arguments by value, but not consuming them in its body", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TRIVIALLY_COPY_PASS_BY_REF", -+ default_level: Allow, -+ desc: "functions taking small copyable arguments by reference", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LARGE_TYPES_PASSED_BY_VALUE", -+ default_level: Allow, -+ desc: "functions taking large arguments by value", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REF_OPTION_REF", -+ default_level: Allow, -+ desc: "use `Option<&T>` instead of `&Option<&T>`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INFINITE_ITER", -+ default_level: Deny, -+ desc: "infinite iteration", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INLINE_FN_WITHOUT_BODY", -+ default_level: Deny, -+ desc: "use of `#[inline]` on trait methods without bodies", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::USELESS_CONVERSION", -+ default_level: Warn, -+ desc: "calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` which perform useless conversions to the same type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IMPLICIT_HASHER", -+ default_level: Allow, -+ desc: "missing generalization over different hashers", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FALLIBLE_IMPL_FROM", -+ default_level: Allow, -+ desc: "Warn on impls of `From<..>` that contain `panic!()` or `unwrap()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::QUESTION_MARK", -+ default_level: Warn, -+ desc: "checks for expressions that could be replaced by the question mark operator", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::QUESTION_MARK_USED", -+ default_level: Allow, -+ desc: "complains if the question mark operator is used", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SUSPICIOUS_ARITHMETIC_IMPL", -+ default_level: Warn, -+ desc: "suspicious use of operators in impl of arithmetic trait", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::OPTION_MAP_UNIT_FN", -+ default_level: Warn, -+ desc: "using `option.map(f)`, where `f` is a function or closure that returns `()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MULTIPLE_INHERENT_IMPL", -+ default_level: Allow, -+ desc: "Multiple inherent impl that could be grouped", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEG_CMP_OP_ON_PARTIAL_ORD", -+ default_level: Warn, -+ desc: "The use of negated comparison operators on partially ordered types may produce confusing code.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PANICKING_UNWRAP", -+ default_level: Deny, -+ desc: "checks for calls of `unwrap[_err]()` that will always fail", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INDEXING_SLICING", -+ default_level: Allow, -+ desc: "indexing/slicing usage", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DECLARE_INTERIOR_MUTABLE_CONST", -+ default_level: Warn, -+ desc: "declaring `const` with interior mutability", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PTR_OFFSET_WITH_CAST", -+ default_level: Warn, -+ desc: "unneeded pointer offset cast", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_CLONE", -+ default_level: Allow, -+ desc: "`clone()` of an owned value that is going to be dropped immediately", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SLOW_VECTOR_INITIALIZATION", -+ default_level: Warn, -+ desc: "slow vector initialization", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_WRAPS", -+ default_level: Allow, -+ desc: "functions that only return `Ok` or `Some`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ASSERTIONS_ON_CONSTANTS", -+ default_level: Warn, -+ desc: "`assert!(true)` / `assert!(false)` will be optimized out by the compiler, and should probably be replaced by a `panic!()` or `unreachable!()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ASSERTIONS_ON_RESULT_STATES", -+ default_level: Allow, -+ desc: "`assert!(r.is_ok())`/`assert!(r.is_err())` gives worse error message than directly calling `r.unwrap()`/`r.unwrap_err()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INHERENT_TO_STRING", -+ default_level: Warn, -+ desc: "type implements inherent method `to_string()`, but should instead implement the `Display` trait", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TYPE_REPETITION_IN_BOUNDS", -+ default_level: Allow, -+ desc: "types are repeated unnecessarily in trait bounds, use `+` instead of using `T: _, T: _`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TRAIT_DUPLICATION_IN_BOUNDS", -+ default_level: Allow, -+ desc: "check if the same trait bounds are specified more than once during a generic declaration", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::COMPARISON_CHAIN", -+ default_level: Warn, -+ desc: "`if`s that can be rewritten with `match` and `cmp`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MUTABLE_KEY_TYPE", -+ default_level: Warn, -+ desc: "Check for mutable `Map`/`Set` key type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::RECURSIVE_FORMAT_IMPL", -+ default_level: Deny, -+ desc: "Format trait method called while implementing the same Format trait", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_CLOSURE_CALL", -+ default_level: Warn, -+ desc: "throwaway closures called in the expression they are defined", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LET_AND_RETURN", -+ default_level: Warn, -+ desc: "creating a let-binding and then immediately returning it like `let x = expr; x` at the end of a block", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ITEMS_AFTER_STATEMENTS", -+ default_level: Allow, -+ desc: "blocks where an item comes after a statement", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS", -+ default_level: Warn, -+ desc: "needless parenthesis on range literals can be removed", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CREATE_DIR", -+ default_level: Allow, -+ desc: "calling `std::fs::create_dir` instead of `std::fs::create_dir_all`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ENUM_VARIANT_NAMES", -+ default_level: Warn, -+ desc: "enums where all variants share a prefix/postfix", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UPPER_CASE_ACRONYMS", -+ default_level: Warn, -+ desc: "capitalized acronyms are against the naming convention", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DEFAULT_TRAIT_ACCESS", -+ default_level: Allow, -+ desc: "checks for literal calls to `Default::default()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FIELD_REASSIGN_WITH_DEFAULT", -+ default_level: Warn, -+ desc: "binding initialized with Default should have its fields set in the initializer", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNUSED_SELF", -+ default_level: Allow, -+ desc: "methods that contain a `self` argument but don't use it", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DEBUG_ASSERT_WITH_MUT_CALL", -+ default_level: Allow, -+ desc: "mutable arguments in `debug_assert{,_ne,_eq}!`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXIT", -+ default_level: Allow, -+ desc: "detects `std::process::exit` calls", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TO_DIGIT_IS_SOME", -+ default_level: Warn, -+ desc: "`char.is_digit()` is clearer", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LARGE_STACK_ARRAYS", -+ default_level: Allow, -+ desc: "allocating large arrays on stack may cause stack overflow", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LARGE_CONST_ARRAYS", -+ default_level: Warn, -+ desc: "large non-scalar const array may cause performance overhead", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IMPRECISE_FLOPS", -+ default_level: Allow, -+ desc: "usage of imprecise floating point operations", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SUBOPTIMAL_FLOPS", -+ default_level: Allow, -+ desc: "usage of sub-optimal floating point operations", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::AS_CONVERSIONS", -+ default_level: Allow, -+ desc: "using a potentially dangerous silent `as` conversion", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LET_UNDERSCORE_MUST_USE", -+ default_level: Allow, -+ desc: "non-binding `let` on a `#[must_use]` expression", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LET_UNDERSCORE_LOCK", -+ default_level: Deny, -+ desc: "non-binding `let` on a synchronization lock", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRUCT_EXCESSIVE_BOOLS", -+ default_level: Allow, -+ desc: "using too many bools in a struct", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FN_PARAMS_EXCESSIVE_BOOLS", -+ default_level: Allow, -+ desc: "using too many bools in function parameters", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ENUM_GLOB_USE", -+ default_level: Allow, -+ desc: "use items that import all variants of an enum", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::WILDCARD_IMPORTS", -+ default_level: Allow, -+ desc: "lint `use _::*` statements", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_PUB_CRATE", -+ default_level: Allow, -+ desc: "Using `pub(crate)` visibility on items that are not crate visible due to the visibility of the module that contains them.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FN_ADDRESS_COMPARISONS", -+ default_level: Deny, -+ desc: "comparison with an address of a function item", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXPLICIT_DEREF_METHODS", -+ default_level: Allow, -+ desc: "Explicit use of deref or deref_mut method while not in a method chain.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_BORROW", -+ default_level: Warn, -+ desc: "taking a reference that is going to be automatically dereferenced", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::OPTION_IF_LET_ELSE", -+ default_level: Allow, -+ desc: "reimplementation of Option::map_or", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FUTURE_NOT_SEND", -+ default_level: Allow, -+ desc: "public Futures must be Send", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LARGE_FUTURES", -+ default_level: Allow, -+ desc: "large future may lead to unexpected stack overflows", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IF_LET_MUTEX", -+ default_level: Deny, -+ desc: "locking a `Mutex` in an `if let` block can cause deadlocks", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IF_NOT_ELSE", -+ default_level: Allow, -+ desc: "`if` branches that could be swapped so no negation operation is necessary on the condition", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EQUATABLE_IF_LET", -+ default_level: Allow, -+ desc: "using pattern matching instead of equality", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_ASYNC_FN", -+ default_level: Warn, -+ desc: "manual implementations of `async` functions can be simplified using the dedicated syntax", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PANIC_IN_RESULT_FN", -+ default_level: Allow, -+ desc: "functions of type `Result<..>` that contain `panic!()` or assertion", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MACRO_USE_IMPORTS", -+ default_level: Allow, -+ desc: "#[macro_use] is no longer needed", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PATTERN_TYPE_MISMATCH", -+ default_level: Allow, -+ desc: "type of pattern does not match the expression type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNWRAP_IN_RESULT", -+ default_level: Allow, -+ desc: "functions of type `Result<..>` or `Option`<...> that contain `expect()` or `unwrap()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SEMICOLON_IF_NOTHING_RETURNED", -+ default_level: Allow, -+ desc: "add a semicolon if nothing is returned", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ASYNC_YIELDS_ASYNC", -+ default_level: Deny, -+ desc: "async blocks that return a type that can be awaited", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DISALLOWED_MACROS", -+ default_level: Warn, -+ desc: "use of a disallowed macro", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DISALLOWED_METHODS", -+ default_level: Warn, -+ desc: "use of a disallowed method call", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EMPTY_DROP", -+ default_level: Allow, -+ desc: "empty `Drop` implementations", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STR_TO_STRING", -+ default_level: Allow, -+ desc: "using `to_string()` on a `&str`, which should be `to_owned()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRING_TO_STRING", -+ default_level: Allow, -+ desc: "using `to_string()` on a `String`, which should be `clone()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ZERO_SIZED_MAP_VALUES", -+ default_level: Allow, -+ desc: "usage of map with zero-sized value type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::VEC_INIT_THEN_PUSH", -+ default_level: Warn, -+ desc: "`push` immediately after `Vec` creation", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_SLICING", -+ default_level: Warn, -+ desc: "redundant slicing of the whole range of a type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FROM_STR_RADIX_10", -+ default_level: Warn, -+ desc: "from_str_radix with radix 10", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IF_THEN_SOME_ELSE_NONE", -+ default_level: Allow, -+ desc: "Finds if-else that could be written using either `bool::then` or `bool::then_some`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BOOL_ASSERT_COMPARISON", -+ default_level: Warn, -+ desc: "Using a boolean as comparison value in an assert_* macro when there is no need", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNUSED_ASYNC", -+ default_level: Allow, -+ desc: "finds async functions with no await statements", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DISALLOWED_TYPES", -+ default_level: Warn, -+ desc: "use of disallowed types", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_ENFORCED_IMPORT_RENAMES", -+ default_level: Warn, -+ desc: "enforce import renames", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STRLEN_ON_C_STRINGS", -+ default_level: Warn, -+ desc: "using `libc::strlen` on a `CString` or `CStr` value, while `as_bytes().len()` or `to_bytes().len()` respectively can be used instead", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SELF_NAMED_CONSTRUCTORS", -+ default_level: Warn, -+ desc: "method should not have the same name as the type it is implemented for", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ITER_NOT_RETURNING_ITERATOR", -+ default_level: Allow, -+ desc: "methods named `iter` or `iter_mut` that do not return an `Iterator`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_ASSERT", -+ default_level: Allow, -+ desc: "`panic!` and only a `panic!` in `if`-then statement", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NON_SEND_FIELDS_IN_SEND_TY", -+ default_level: Allow, -+ desc: "there is a field that is not safe to be sent to another thread in a `Send` struct", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNDOCUMENTED_UNSAFE_BLOCKS", -+ default_level: Allow, -+ desc: "creating an unsafe block without explaining why it is safe", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_SAFETY_COMMENT", -+ default_level: Allow, -+ desc: "annotating safe code with a safety comment", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FORMAT_IN_FORMAT_ARGS", -+ default_level: Warn, -+ desc: "`format!` used in a macro that does formatting", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TRAILING_EMPTY_ARRAY", -+ default_level: Allow, -+ desc: "struct with a trailing zero-sized array but without `#[repr(C)]` or another `repr` attribute", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_LATE_INIT", -+ default_level: Warn, -+ desc: "late initializations that can be replaced by a `let` statement with an initializer", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::RETURN_SELF_NOT_MUST_USE", -+ default_level: Allow, -+ desc: "missing `#[must_use]` annotation on a method returning `Self`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INIT_NUMBERED_FIELDS", -+ default_level: Warn, -+ desc: "numbered fields in tuple struct initializer", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_BITS", -+ default_level: Warn, -+ desc: "manual implementation of `size_of::() * 8` can be simplified with `T::BITS`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DEFAULT_UNION_REPRESENTATION", -+ default_level: Allow, -+ desc: "unions without a `#[repr(C)]` attribute", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ONLY_USED_IN_RECURSION", -+ default_level: Warn, -+ desc: "arguments that is only used in recursion can be removed", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DBG_MACRO", -+ default_level: Allow, -+ desc: "`dbg!` macro is intended as a debugging tool", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PRINT_WITH_NEWLINE", -+ default_level: Warn, -+ desc: "using `print!()` with a format string that ends in a single newline", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::CARGO_COMMON_METADATA", -+ default_level: Allow, -+ desc: "common metadata is defined in `Cargo.toml`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_FEATURE_NAMES", -+ default_level: Allow, -+ desc: "usage of a redundant feature name", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEGATIVE_FEATURE_NAMES", -+ default_level: Allow, -+ desc: "usage of a negative feature name", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MULTIPLE_CRATE_VERSIONS", -+ default_level: Allow, -+ desc: "multiple versions of the same crate being used", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::WILDCARD_DEPENDENCIES", -+ default_level: Allow, -+ desc: "wildcard dependencies being used", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LINT_GROUPS_PRIORITY", -+ default_level: Deny, -+ desc: "a lint group in `Cargo.toml` at the same priority as a lint", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS", -+ default_level: Warn, -+ desc: "detects cases of references to owned empty strings being passed as an argument to a function expecting `&str`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FORMAT_PUSH_STRING", -+ default_level: Allow, -+ desc: "`format!(..)` appended to existing `String`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LARGE_INCLUDE_FILE", -+ default_level: Allow, -+ desc: "including a large file", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TRIM_SPLIT_WHITESPACE", -+ default_level: Warn, -+ desc: "using `str::trim()` or alike before `str::split_whitespace`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::RC_CLONE_IN_VEC_INIT", -+ default_level: Warn, -+ desc: "initializing reference-counted pointer in `vec![elem; len]`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SWAP_PTR_TO_REF", -+ default_level: Warn, -+ desc: "call to `mem::swap` using pointer derived references", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISMATCHING_TYPE_PARAM_ORDER", -+ default_level: Allow, -+ desc: "type parameter positioned inconsistently between type def and impl block", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::READ_ZERO_BYTE_VEC", -+ default_level: Allow, -+ desc: "checks for reads into a zero-length `Vec`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY", -+ default_level: Warn, -+ desc: "check `std::iter::Empty::default()` and replace with `std::iter::empty()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_REM_EUCLID", -+ default_level: Warn, -+ desc: "manually reimplementing `rem_euclid`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_RETAIN", -+ default_level: Warn, -+ desc: "`retain()` is simpler and the same functionalities", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ABSURD_EXTREME_COMPARISONS", -+ default_level: Deny, -+ desc: "a comparison with a maximum or minimum value that is always true or false", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STD_INSTEAD_OF_CORE", -+ default_level: Allow, -+ desc: "type is imported from std when available in core", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::STD_INSTEAD_OF_ALLOC", -+ default_level: Allow, -+ desc: "type is imported from std when available in alloc", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ALLOC_INSTEAD_OF_CORE", -+ default_level: Allow, -+ desc: "type is imported from alloc when available in core", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_INSTANT_ELAPSED", -+ default_level: Allow, -+ desc: "subtraction between `Instant::now()` and previous `Instant`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNCHECKED_DURATION_SUBTRACTION", -+ default_level: Allow, -+ desc: "finds unchecked subtraction of a 'Duration' from an 'Instant'", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PARTIALEQ_TO_NONE", -+ default_level: Warn, -+ desc: "Binary comparison to `Option::None` relies on `T: PartialEq`, which is unneeded", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_CLAMP", -+ default_level: Warn, -+ desc: "using a clamp pattern instead of the clamp function", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_STRING_NEW", -+ default_level: Allow, -+ desc: "empty String is being created manually", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNUSED_PEEKABLE", -+ default_level: Allow, -+ desc: "creating a peekable iterator without using any of its methods", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BOOL_TO_INT_WITH_IF", -+ default_level: Allow, -+ desc: "using if to convert bool to int", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BOX_DEFAULT", -+ default_level: Warn, -+ desc: "Using Box::new(T::default()) instead of Box::default()", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IMPLICIT_SATURATING_ADD", -+ default_level: Warn, -+ desc: "Perform saturating addition instead of implicitly checking max bound of data type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_TRAIT_METHODS", -+ default_level: Allow, -+ desc: "trait implementation uses default provided method", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FROM_RAW_WITH_VOID_PTR", -+ default_level: Warn, -+ desc: "creating a `Box` from a void raw pointer", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SUSPICIOUS_XOR_USED_AS_POW", -+ default_level: Allow, -+ desc: "XOR (`^`) operator possibly used as exponentiation operator", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_IS_ASCII_CHECK", -+ default_level: Warn, -+ desc: "use dedicated method to check ascii range", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SEMICOLON_INSIDE_BLOCK", -+ default_level: Allow, -+ desc: "add a semicolon inside the block", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SEMICOLON_OUTSIDE_BLOCK", -+ default_level: Allow, -+ desc: "add a semicolon outside the block", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PERMISSIONS_SET_READONLY_FALSE", -+ default_level: Warn, -+ desc: "Checks for calls to `std::fs::Permissions.set_readonly` with argument `false`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SIZE_OF_REF", -+ default_level: Warn, -+ desc: "Argument to `std::mem::size_of_val()` is a double-reference, which is almost certainly unintended", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK", -+ default_level: Allow, -+ desc: "more than one unsafe operation per `unsafe` block", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::EXTRA_UNUSED_TYPE_PARAMETERS", -+ default_level: Warn, -+ desc: "unused type parameters in function definitions", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NO_MANGLE_WITH_RUST_ABI", -+ default_level: Allow, -+ desc: "convert Rust ABI functions to C ABI", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::COLLECTION_IS_NEVER_READ", -+ default_level: Allow, -+ desc: "a collection is never queried", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_ASSERT_MESSAGE", -+ default_level: Allow, -+ desc: "checks assertions without a custom panic message", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_ASYNC_BLOCK", -+ default_level: Warn, -+ desc: "`async { future.await }` can be replaced by `future`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LET_WITH_TYPE_UNDERSCORE", -+ default_level: Warn, -+ desc: "unneeded underscore type (`_`) in a variable declaration", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ALLOW_ATTRIBUTES", -+ default_level: Allow, -+ desc: "`#[allow]` will not trigger if a warning isn't found. `#[expect]` triggers if there are no warnings.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_MAIN_SEPARATOR_STR", -+ default_level: Warn, -+ desc: "`&std::path::MAIN_SEPARATOR.to_string()` can be replaced by `std::path::MAIN_SEPARATOR_STR`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_STRUCT_INITIALIZATION", -+ default_level: Allow, -+ desc: "struct built from a base that can be written mode concisely", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_BOX_RETURNS", -+ default_level: Allow, -+ desc: "Needlessly returning a Box", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LINES_FILTER_MAP_OK", -+ default_level: Warn, -+ desc: "filtering `std::io::Lines` with `filter_map()`, `flat_map()`, or `flatten()` might cause an infinite loop", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TESTS_OUTSIDE_TEST_MODULE", -+ default_level: Allow, -+ desc: "A test function is outside the testing module.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_SLICE_SIZE_CALCULATION", -+ default_level: Warn, -+ desc: "manual slice size calculation", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ITEMS_AFTER_TEST_MODULE", -+ default_level: Warn, -+ desc: "An item was found after the testing module `tests`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS", -+ default_level: Warn, -+ desc: "unit structs can be constructed without calling `default`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_FIELDS_IN_DEBUG", -+ default_level: Allow, -+ desc: "missing fields in manual `Debug` implementation", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::HOST_ENDIAN_BYTES", -+ default_level: Allow, -+ desc: "disallows usage of the `to_ne_bytes` method", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LITTLE_ENDIAN_BYTES", -+ default_level: Allow, -+ desc: "disallows usage of the `to_le_bytes` method", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::BIG_ENDIAN_BYTES", -+ default_level: Allow, -+ desc: "disallows usage of the `to_be_bytes` method", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_TYPE_ANNOTATIONS", -+ default_level: Allow, -+ desc: "warns about needless / redundant type annotations.", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ARC_WITH_NON_SEND_SYNC", -+ default_level: Warn, -+ desc: "using `Arc` with a type that does not implement `Send` and `Sync`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_IF", -+ default_level: Warn, -+ desc: "checks for empty if branches", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MIN_IDENT_CHARS", -+ default_level: Allow, -+ desc: "disallows idents that are too short", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LARGE_STACK_FRAMES", -+ default_level: Allow, -+ desc: "checks for functions that allocate a lot of stack space", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SINGLE_RANGE_IN_VEC_INIT", -+ default_level: Warn, -+ desc: "checks for initialization of `Vec` or arrays which consist of a single range", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_PASS_BY_REF_MUT", -+ default_level: Allow, -+ desc: "using a `&mut` argument when it's not mutated", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NON_CANONICAL_CLONE_IMPL", -+ default_level: Warn, -+ desc: "non-canonical implementation of `Clone` on a `Copy` type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::SINGLE_CALL_FN", -+ default_level: Allow, -+ desc: "checks for functions that are only used once", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::LEGACY_NUMERIC_CONSTANTS", -+ default_level: Warn, -+ desc: "checks for usage of legacy std numeric constants and methods", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_RANGE_PATTERNS", -+ default_level: Warn, -+ desc: "manually writing range patterns using a combined OR pattern (`|`)", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TUPLE_ARRAY_CONVERSIONS", -+ default_level: Allow, -+ desc: "checks for tuple<=>array conversions that are not done with `.into()`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_IS_INFINITE", -+ default_level: Warn, -+ desc: "use dedicated method to check if a float is infinite", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::FOUR_FORWARD_SLASHES", -+ default_level: Warn, -+ desc: "comments with 4 forward slashes (`////`) likely intended to be doc comments (`///`)", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ERROR_IMPL_ERROR", -+ default_level: Allow, -+ desc: "exported types named `Error` that implement `Error`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ABSOLUTE_PATHS", -+ default_level: Allow, -+ desc: "checks for usage of an item without a `use` statement", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REDUNDANT_LOCALS", -+ default_level: Deny, -+ desc: "redundant redefinition of a local binding", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IGNORED_UNIT_PATTERNS", -+ default_level: Allow, -+ desc: "suggest replacing `_` by `()` in patterns where appropriate", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::RESERVE_AFTER_INITIALIZATION", -+ default_level: Warn, -+ desc: "`reserve` called immediately after `Vec` creation", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IMPLIED_BOUNDS_IN_IMPLS", -+ default_level: Warn, -+ desc: "specifying bounds that are implied by other bounds in `impl Trait` type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MISSING_ASSERTS_FOR_INDEXING", -+ default_level: Allow, -+ desc: "indexing into a slice multiple times without an `assert`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR", -+ default_level: Warn, -+ desc: "using `map`/`map_err` on `Option` or `Result` constructors", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS", -+ default_level: Warn, -+ desc: "taking a reference that is going to be automatically dereferenced", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_HASH_ONE", -+ default_level: Warn, -+ desc: "manual implementations of `BuildHasher::hash_one`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ITER_WITHOUT_INTO_ITER", -+ default_level: Allow, -+ desc: "implementing `iter(_mut)` without an associated `IntoIterator for (&|&mut) Type` impl", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INTO_ITER_WITHOUT_ITER", -+ default_level: Allow, -+ desc: "implementing `IntoIterator for (&|&mut) Type` without an inherent `iter(_mut)` method", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ITER_OVER_HASH_TYPE", -+ default_level: Allow, -+ desc: "iterating over unordered hash-based types (`HashMap` and `HashSet`)", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES", -+ default_level: Deny, -+ desc: "ensures that the semantics of `Borrow` for `Hash` are satisfied when `Borrow` and `Borrow<[u8]>` are implemented", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::REPEAT_VEC_WITH_CAPACITY", -+ default_level: Warn, -+ desc: "repeating a `Vec::with_capacity` expression which does not retain capacity", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNINHABITED_REFERENCES", -+ default_level: Allow, -+ desc: "reference to uninhabited type", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INEFFECTIVE_OPEN_OPTIONS", -+ default_level: Warn, -+ desc: "usage of both `write(true)` and `append(true)` on same `OpenOptions`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::UNCONDITIONAL_RECURSION", -+ default_level: Warn, -+ desc: "detect unconditional recursion in some traits implementation", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::PUB_UNDERSCORE_FIELDS", -+ default_level: Allow, -+ desc: "struct field prefixed with underscore and marked public", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST", -+ default_level: Warn, -+ desc: "suggest using `const` in `thread_local!` macro", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INCOMPATIBLE_MSRV", -+ default_level: Warn, -+ desc: "ensures that all items used in the crate are available for the current MSRV", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::TO_STRING_TRAIT_IMPL", -+ default_level: Warn, -+ desc: "check for direct implementations of `ToString`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ASSIGNING_CLONES", -+ default_level: Warn, -+ desc: "assigning the result of cloning may be inefficient", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::ZERO_REPEAT_SIDE_EFFECTS", -+ default_level: Warn, -+ desc: "usage of zero-sized initializations of arrays or vecs causing side effects", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::MANUAL_UNWRAP_OR_DEFAULT", -+ default_level: Warn, -+ desc: "check if a `match` or `if let` can be simplified with `unwrap_or_default`", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} -+[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { -+ name: "clippy::INTEGER_DIVISION_REMAINDER_USED", -+ default_level: Allow, -+ desc: "use of disallowed default division and remainder operations", -+ edition_lint_opts: None, -+ report_in_external_macro: true, -+ future_incompatible: None, -+ is_loaded: true, -+ feature_gate: None, -+ crate_level_only: false, -+} - error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:15:20 -... 7 lines skipped ... - = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` - --error[E0080]: evaluation of `main::{constant#3}` failed -- --> tests/ui/indexing_slicing_index.rs:47:14 -- | --LL | const { &ARR[idx4()] }; -- | ^^^^^^^^^^^ index out of bounds: the length is 2 but the index is 4 -- --note: erroneous constant encountered -- --> tests/ui/indexing_slicing_index.rs:47:5 -- | --LL | const { &ARR[idx4()] }; -- | ^^^^^^^^^^^^^^^^^^^^^^ -- - error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:28:5 -... 95 lines skipped ... - | ^^^^ - --error: aborting due to 15 previous errors -+error: aborting due to 14 previous errors - --For more information about this error, try `rustc --explain E0080`. - - -full stderr: -[compiler/rustc_lint/src/late.rs:460:5] "FDDDDDDDDDDDDDDDDDDDDDDDd" = "FDDDDDDDDDDDDDDDDDDDDDDDd" -[compiler/rustc_lint/src/late.rs:461:5] &lints_to_emit = [ - "warnings", - "indexing_slicing", - "out_of_bounds_indexing", -] -[compiler/rustc_lint/src/late.rs:461:5] lints_allowed = [ - "unused", - "internal_features", - "unconditional_panic", - "no_effect", - "unnecessary_operation", - "useless_vec", -] -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ARITHMETIC_SIDE_EFFECTS", - default_level: Allow, - desc: "any arithmetic expression that can cause side effects like overflows or panics", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::AWAIT_HOLDING_LOCK", - default_level: Warn, - desc: "inside an async function, holding a `MutexGuard` while calling `await`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SERDE_API_MISUSE", - default_level: Deny, - desc: "various things that will negatively affect your serde experience", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BOX_COLLECTION", - default_level: Warn, - desc: "usage of `Box>`, vector elements are already on the heap", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NONMINIMAL_BOOL", - default_level: Warn, - desc: "boolean expressions that can be written more concisely", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ENUM_CLIKE_UNPORTABLE_VARIANT", - default_level: Deny, - desc: "C-like enums that are `repr(isize/usize)` and have values that don't fit into an `i32`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXCESSIVE_PRECISION", - default_level: Warn, - desc: "excessive precision for float literal", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PTR_ARG", - default_level: Warn, - desc: "fn arguments of the type `&Vec<...>` or `&String`, suggesting to use `&[...]` or `&str` instead, respectively", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_BOOL", - default_level: Warn, - desc: "if-statements with plain booleans in the then- and else-clause, e.g., `if p { true } else { false }`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BOOL_COMPARISON", - default_level: Warn, - desc: "comparing a variable to a boolean, e.g., `if x == true` or `if x != true`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_FOR_EACH", - default_level: Allow, - desc: "using `for_each` where a `for` loop would be simpler", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TOPLEVEL_REF_ARG", - default_level: Warn, - desc: "an entire binding declared as `ref`, in a function argument or a `let` statement", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_CLOSURE", - default_level: Warn, - desc: "redundant closures, i.e., `|a| foo(a)` (which can be written as just `foo`)", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MUT_MUT", - default_level: Allow, - desc: "usage of double-mut refs, e.g., `&mut &mut ...`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_MUT_PASSED", - default_level: Warn, - desc: "an argument passed as a mutable reference although the callee only demands an immutable reference", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SIGNIFICANT_DROP_TIGHTENING", - default_level: Allow, - desc: "Searches for elements marked with `#[clippy::has_significant_drop]` that could be early dropped but are in fact dropped at the end of their scopes", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LEN_ZERO", - default_level: Warn, - desc: "checking `.len() == 0` or `.len() > 0` (or similar) when `.is_empty()` could be used instead", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ALLOW_ATTRIBUTES_WITHOUT_REASON", - default_level: Allow, - desc: "ensures that all `allow` and `expect` attributes have a reason", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INLINE_ALWAYS", - default_level: Allow, - desc: "use of `#[inline(always)]`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DEPRECATED_SEMVER", - default_level: Deny, - desc: "use of `#[deprecated(since = \"x\")]` where x is not semver", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BLOCKS_IN_CONDITIONS", - default_level: Warn, - desc: "useless or complex blocks that can be eliminated in conditions", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INVISIBLE_CHARACTERS", - default_level: Deny, - desc: "using an invisible character in a string literal, which is confusing", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNINIT_VEC", - default_level: Deny, - desc: "Vec with uninitialized data", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNIT_RETURN_EXPECTING_ORD", - default_level: Deny, - desc: "fn arguments of type Fn(...) -> Ord returning the unit type ().", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRING_ADD", - default_level: Allow, - desc: "using `x + ..` where x is a `String` instead of `push_str()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRING_ADD_ASSIGN", - default_level: Allow, - desc: "using `x = x + ..` where x is a `String` instead of `push_str()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRING_SLICE", - default_level: Allow, - desc: "slicing a string", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IMPLICIT_RETURN", - default_level: Allow, - desc: "use a return statement like `return expr` instead of an expression", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IMPLICIT_SATURATING_SUB", - default_level: Warn, - desc: "Perform saturating subtraction instead of implicitly checking lower bound of data type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DEFAULT_NUMERIC_FALLBACK", - default_level: Allow, - desc: "usage of unconstrained numeric literals which may cause default numeric fallback.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INCONSISTENT_STRUCT_CONSTRUCTOR", - default_level: Allow, - desc: "the order of the field init shorthand is inconsistent with the order in the struct definition", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NON_OCTAL_UNIX_PERMISSIONS", - default_level: Deny, - desc: "use of non-octal value to set unix file permissions, which will be translated into octal", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::APPROX_CONSTANT", - default_level: Deny, - desc: "the approximate of a known float constant (in `std::fXX::consts`)", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNWRAP_USED", - default_level: Allow, - desc: "using `.unwrap()` on `Result` or `Option`, which should at least get a better message using `expect()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXPECT_USED", - default_level: Allow, - desc: "using `.expect()` on `Result` or `Option`, which might be better handled", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SHOULD_IMPLEMENT_TRAIT", - default_level: Warn, - desc: "defining a method that should be implementing a std trait", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SINGLE_MATCH", - default_level: Warn, - desc: "a `match` statement with a single nontrivial arm (i.e., where the other arm is `_ => {}`) instead of `if let`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_NON_EXHAUSTIVE", - default_level: Warn, - desc: "manual implementations of the non-exhaustive pattern can be simplified using #[non_exhaustive]", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_STRIP", - default_level: Warn, - desc: "suggests using `strip_{prefix,suffix}` over `str::{starts,ends}_with` and slicing", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CHECKED_CONVERSIONS", - default_level: Allow, - desc: "`try_from` could replace manual bounds checking when casting", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MEM_REPLACE_OPTION_WITH_NONE", - default_level: Warn, - desc: "replacing an `Option` with `None` instead of `take()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::RANGE_PLUS_ONE", - default_level: Allow, - desc: "`x..(y+1)` reads better as `x..=y`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::RANGE_MINUS_ONE", - default_level: Allow, - desc: "`x..=(y-1)` reads better as `x..y`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REVERSED_EMPTY_RANGES", - default_level: Deny, - desc: "reversing the limits of range expressions, resulting in empty ranges", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FROM_OVER_INTO", - default_level: Warn, - desc: "Warns on implementations of `Into<..>` to use `From<..>`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::USE_SELF", - default_level: Allow, - desc: "unnecessary structure name repetition whereas `Self` is applicable", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_CONST_FOR_FN", - default_level: Allow, - desc: "Lint functions definitions that could be made `const fn`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_QUESTION_MARK", - default_level: Warn, - desc: "Suggest `value.inner_option` instead of `Some(value.inner_option?)`. The same goes for `Result`.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CAST_PRECISION_LOSS", - default_level: Allow, - desc: "casts that cause loss of precision, e.g., `x as f32` where `x: u64`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CAST_SIGN_LOSS", - default_level: Allow, - desc: "casts from signed types to unsigned types, e.g., `x as u32` where `x: i32`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CAST_POSSIBLE_TRUNCATION", - default_level: Allow, - desc: "casts that may cause truncation of the value, e.g., `x as u8` where `x: u32`, or `x as i32` where `x: f32`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CAST_POSSIBLE_WRAP", - default_level: Allow, - desc: "casts that may cause wrapping around the value, e.g., `x as i32` where `x: u32` and `x > i32::MAX`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CAST_LOSSLESS", - default_level: Allow, - desc: "casts using `as` that are known to be lossless, e.g., `x as u64` where `x: u8`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CAST_PTR_ALIGNMENT", - default_level: Allow, - desc: "cast from a pointer to a more-strictly-aligned pointer", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CAST_SLICE_DIFFERENT_SIZES", - default_level: Deny, - desc: "casting using `as` between raw pointers to slices of types with different sizes", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SIZE_OF_IN_ELEMENT_COUNT", - default_level: Deny, - desc: "using `size_of::` or `size_of_val::` where a count of elements of `T` is expected", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SAME_NAME_METHOD", - default_level: Allow, - desc: "two method with same name", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INDEX_REFUTABLE_SLICE", - default_level: Allow, - desc: "avoid indexing on slices which could be destructed", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SHADOW_SAME", - default_level: Allow, - desc: "rebinding a name to itself, e.g., `let mut x = &mut x`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SHADOW_REUSE", - default_level: Allow, - desc: "rebinding a name to an expression that re-uses the original value, e.g., `let x = x + 1`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SHADOW_UNRELATED", - default_level: Allow, - desc: "rebinding a name without even using the original value", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LET_UNIT_VALUE", - default_level: Warn, - desc: "creating a `let` binding to a value of unit type, which usually can't be used afterwards", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_MEMCPY", - default_level: Warn, - desc: "manually copying items between slices", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MAIN_RECURSION", - default_level: Warn, - desc: "recursion using the entrypoint", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_LIFETIMES", - default_level: Warn, - desc: "using explicit lifetimes for references in function arguments when elision rules would allow omitting them", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MAP_ENTRY", - default_level: Warn, - desc: "use of `contains_key` followed by `insert` on a `HashMap` or `BTreeMap`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MIN_MAX", - default_level: Deny, - desc: "`min(_, max(_, _))` (or vice versa) with bounds clamping the result to a constant", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ZERO_DIVIDED_BY_ZERO", - default_level: Warn, - desc: "usage of `0.0 / 0.0` to obtain NaN instead of `f32::NAN` or `f64::NAN`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MUTEX_ATOMIC", - default_level: Allow, - desc: "using a mutex where an atomic value could be used instead.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MUTEX_INTEGER", - default_level: Allow, - desc: "using a mutex for an integer type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_UPDATE", - default_level: Warn, - desc: "using `Foo { ..base }` when there are no missing fields", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_BORROWED_REFERENCE", - default_level: Warn, - desc: "destructuring a reference and borrowing the inner value", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BORROW_DEREF_REF", - default_level: Warn, - desc: "deref on an immutable reference returns the same type as itself", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NO_EFFECT", - default_level: Warn, - desc: "statements with no effect", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_OPERATION", - default_level: Warn, - desc: "outer expressions with no effect", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NO_EFFECT_UNDERSCORE_BINDING", - default_level: Allow, - desc: "binding to `_` prefixed variable with no side-effect", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TEMPORARY_ASSIGNMENT", - default_level: Warn, - desc: "assignments to temporaries", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CROSSPOINTER_TRANSMUTE", - default_level: Warn, - desc: "transmutes that have to or from types that are a pointer to the other", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::COGNITIVE_COMPLEXITY", - default_level: Allow, - desc: "functions that should be split up into multiple functions", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BOXED_LOCAL", - default_level: Warn, - desc: "using `Box` where unnecessary", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::USELESS_VEC", - default_level: Warn, - desc: "useless `vec!`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNIMPLEMENTED", - default_level: Allow, - desc: "`unimplemented!` should not be present in production code", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNREACHABLE", - default_level: Allow, - desc: "usage of the `unreachable!` macro", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TODO", - default_level: Allow, - desc: "`todo!` should not be present in production code", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PANIC", - default_level: Allow, - desc: "usage of the `panic!` macro", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRING_LIT_AS_BYTES", - default_level: Allow, - desc: "calling `as_bytes` on a string literal instead of using a byte string literal", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRING_FROM_UTF8_AS_BYTES", - default_level: Warn, - desc: "casting string slices to byte slices and back", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXPL_IMPL_CLONE_ON_COPY", - default_level: Allow, - desc: "implementing `Clone` explicitly on `Copy` types", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DERIVED_HASH_WITH_MANUAL_EQ", - default_level: Deny, - desc: "deriving `Hash` but implementing `PartialEq` explicitly", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DERIVABLE_IMPLS", - default_level: Warn, - desc: "manual implementation of the `Default` trait which is equal to a derive", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DROP_NON_DROP", - default_level: Warn, - desc: "call to `std::mem::drop` with a value which does not implement `Drop`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EMPTY_ENUM", - default_level: Allow, - desc: "enum with no variants", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INVALID_UPCAST_COMPARISONS", - default_level: Allow, - desc: "a comparison involving an upcast which is always true or false", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INVALID_REGEX", - default_level: Deny, - desc: "invalid regular expressions", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IFS_SAME_COND", - default_level: Deny, - desc: "consecutive `if`s with the same condition", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::COPY_ITERATOR", - default_level: Allow, - desc: "implementing `Iterator` on a `Copy` type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::USELESS_FORMAT", - default_level: Warn, - desc: "useless use of `format!`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_SWAP", - default_level: Warn, - desc: "manual swap of two variables", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::OVERFLOW_CHECK_CONDITIONAL", - default_level: Warn, - desc: "overflow checks inspired by C which are likely to panic", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEW_WITHOUT_DEFAULT", - default_level: Warn, - desc: "`pub fn new() -> Self` method without `Default` implementation", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DISALLOWED_NAMES", - default_level: Warn, - desc: "usage of a disallowed/placeholder name", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TOO_MANY_ARGUMENTS", - default_level: Warn, - desc: "functions with too many arguments", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DOC_LINK_WITH_QUOTES", - default_level: Allow, - desc: "possible typo for an intra-doc link", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DOC_MARKDOWN", - default_level: Allow, - desc: "presence of `_`, `::` or camel-case outside backticks in documentation", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_SAFETY_DOC", - default_level: Warn, - desc: "`pub unsafe fn` without `# Safety` docs", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEG_MULTIPLY", - default_level: Warn, - desc: "multiplying integers by `-1`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::USELESS_LET_IF_SEQ", - default_level: Allow, - desc: "unidiomatic `let mut` declaration followed by initialization in `if`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MIXED_READ_WRITE_IN_EXPRESSION", - default_level: Allow, - desc: "whether a variable read occurs before a write depends on sub-expression evaluation order", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DIVERGING_SUB_EXPRESSION", - default_level: Warn, - desc: "whether an expression contains a diverging sub expression", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_DOCS_IN_PRIVATE_ITEMS", - default_level: Allow, - desc: "detects missing documentation for private members", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_INLINE_IN_PUBLIC_ITEMS", - default_level: Allow, - desc: "detects missing `#[inline]` attribute for public callables (functions, trait methods, methods...)", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXHAUSTIVE_ENUMS", - default_level: Allow, - desc: "detects exported enums that have not been marked #[non_exhaustive]", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXHAUSTIVE_STRUCTS", - default_level: Allow, - desc: "detects exported structs that have not been marked #[non_exhaustive]", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MATCH_RESULT_OK", - default_level: Warn, - desc: "usage of `ok()` in `let Some(pat)` statements is unnecessary, match on `Ok(pat)` instead", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PARTIALEQ_NE_IMPL", - default_level: Warn, - desc: "re-implementing `PartialEq::ne`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNUSED_IO_AMOUNT", - default_level: Deny, - desc: "unused written/read amount", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LARGE_ENUM_VARIANT", - default_level: Warn, - desc: "large size difference between variants on an enum", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXPLICIT_WRITE", - default_level: Warn, - desc: "using the `write!()` family of functions instead of the `print!()` family of functions, when using the latter would work", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_PASS_BY_VALUE", - default_level: Allow, - desc: "functions taking arguments by value, but not consuming them in its body", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TRIVIALLY_COPY_PASS_BY_REF", - default_level: Allow, - desc: "functions taking small copyable arguments by reference", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LARGE_TYPES_PASSED_BY_VALUE", - default_level: Allow, - desc: "functions taking large arguments by value", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REF_OPTION_REF", - default_level: Allow, - desc: "use `Option<&T>` instead of `&Option<&T>`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INFINITE_ITER", - default_level: Deny, - desc: "infinite iteration", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INLINE_FN_WITHOUT_BODY", - default_level: Deny, - desc: "use of `#[inline]` on trait methods without bodies", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::USELESS_CONVERSION", - default_level: Warn, - desc: "calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` which perform useless conversions to the same type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IMPLICIT_HASHER", - default_level: Allow, - desc: "missing generalization over different hashers", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FALLIBLE_IMPL_FROM", - default_level: Allow, - desc: "Warn on impls of `From<..>` that contain `panic!()` or `unwrap()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::QUESTION_MARK", - default_level: Warn, - desc: "checks for expressions that could be replaced by the question mark operator", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::QUESTION_MARK_USED", - default_level: Allow, - desc: "complains if the question mark operator is used", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SUSPICIOUS_ARITHMETIC_IMPL", - default_level: Warn, - desc: "suspicious use of operators in impl of arithmetic trait", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::OPTION_MAP_UNIT_FN", - default_level: Warn, - desc: "using `option.map(f)`, where `f` is a function or closure that returns `()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MULTIPLE_INHERENT_IMPL", - default_level: Allow, - desc: "Multiple inherent impl that could be grouped", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEG_CMP_OP_ON_PARTIAL_ORD", - default_level: Warn, - desc: "The use of negated comparison operators on partially ordered types may produce confusing code.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PANICKING_UNWRAP", - default_level: Deny, - desc: "checks for calls of `unwrap[_err]()` that will always fail", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INDEXING_SLICING", - default_level: Allow, - desc: "indexing/slicing usage", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DECLARE_INTERIOR_MUTABLE_CONST", - default_level: Warn, - desc: "declaring `const` with interior mutability", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PTR_OFFSET_WITH_CAST", - default_level: Warn, - desc: "unneeded pointer offset cast", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_CLONE", - default_level: Allow, - desc: "`clone()` of an owned value that is going to be dropped immediately", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SLOW_VECTOR_INITIALIZATION", - default_level: Warn, - desc: "slow vector initialization", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_WRAPS", - default_level: Allow, - desc: "functions that only return `Ok` or `Some`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ASSERTIONS_ON_CONSTANTS", - default_level: Warn, - desc: "`assert!(true)` / `assert!(false)` will be optimized out by the compiler, and should probably be replaced by a `panic!()` or `unreachable!()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ASSERTIONS_ON_RESULT_STATES", - default_level: Allow, - desc: "`assert!(r.is_ok())`/`assert!(r.is_err())` gives worse error message than directly calling `r.unwrap()`/`r.unwrap_err()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INHERENT_TO_STRING", - default_level: Warn, - desc: "type implements inherent method `to_string()`, but should instead implement the `Display` trait", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TYPE_REPETITION_IN_BOUNDS", - default_level: Allow, - desc: "types are repeated unnecessarily in trait bounds, use `+` instead of using `T: _, T: _`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TRAIT_DUPLICATION_IN_BOUNDS", - default_level: Allow, - desc: "check if the same trait bounds are specified more than once during a generic declaration", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::COMPARISON_CHAIN", - default_level: Warn, - desc: "`if`s that can be rewritten with `match` and `cmp`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MUTABLE_KEY_TYPE", - default_level: Warn, - desc: "Check for mutable `Map`/`Set` key type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::RECURSIVE_FORMAT_IMPL", - default_level: Deny, - desc: "Format trait method called while implementing the same Format trait", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_CLOSURE_CALL", - default_level: Warn, - desc: "throwaway closures called in the expression they are defined", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LET_AND_RETURN", - default_level: Warn, - desc: "creating a let-binding and then immediately returning it like `let x = expr; x` at the end of a block", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ITEMS_AFTER_STATEMENTS", - default_level: Allow, - desc: "blocks where an item comes after a statement", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_PARENS_ON_RANGE_LITERALS", - default_level: Warn, - desc: "needless parenthesis on range literals can be removed", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CREATE_DIR", - default_level: Allow, - desc: "calling `std::fs::create_dir` instead of `std::fs::create_dir_all`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ENUM_VARIANT_NAMES", - default_level: Warn, - desc: "enums where all variants share a prefix/postfix", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UPPER_CASE_ACRONYMS", - default_level: Warn, - desc: "capitalized acronyms are against the naming convention", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DEFAULT_TRAIT_ACCESS", - default_level: Allow, - desc: "checks for literal calls to `Default::default()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FIELD_REASSIGN_WITH_DEFAULT", - default_level: Warn, - desc: "binding initialized with Default should have its fields set in the initializer", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNUSED_SELF", - default_level: Allow, - desc: "methods that contain a `self` argument but don't use it", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DEBUG_ASSERT_WITH_MUT_CALL", - default_level: Allow, - desc: "mutable arguments in `debug_assert{,_ne,_eq}!`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXIT", - default_level: Allow, - desc: "detects `std::process::exit` calls", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TO_DIGIT_IS_SOME", - default_level: Warn, - desc: "`char.is_digit()` is clearer", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LARGE_STACK_ARRAYS", - default_level: Allow, - desc: "allocating large arrays on stack may cause stack overflow", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LARGE_CONST_ARRAYS", - default_level: Warn, - desc: "large non-scalar const array may cause performance overhead", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IMPRECISE_FLOPS", - default_level: Allow, - desc: "usage of imprecise floating point operations", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SUBOPTIMAL_FLOPS", - default_level: Allow, - desc: "usage of sub-optimal floating point operations", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::AS_CONVERSIONS", - default_level: Allow, - desc: "using a potentially dangerous silent `as` conversion", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LET_UNDERSCORE_MUST_USE", - default_level: Allow, - desc: "non-binding `let` on a `#[must_use]` expression", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LET_UNDERSCORE_LOCK", - default_level: Deny, - desc: "non-binding `let` on a synchronization lock", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRUCT_EXCESSIVE_BOOLS", - default_level: Allow, - desc: "using too many bools in a struct", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FN_PARAMS_EXCESSIVE_BOOLS", - default_level: Allow, - desc: "using too many bools in function parameters", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ENUM_GLOB_USE", - default_level: Allow, - desc: "use items that import all variants of an enum", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::WILDCARD_IMPORTS", - default_level: Allow, - desc: "lint `use _::*` statements", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_PUB_CRATE", - default_level: Allow, - desc: "Using `pub(crate)` visibility on items that are not crate visible due to the visibility of the module that contains them.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FN_ADDRESS_COMPARISONS", - default_level: Deny, - desc: "comparison with an address of a function item", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXPLICIT_DEREF_METHODS", - default_level: Allow, - desc: "Explicit use of deref or deref_mut method while not in a method chain.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_BORROW", - default_level: Warn, - desc: "taking a reference that is going to be automatically dereferenced", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::OPTION_IF_LET_ELSE", - default_level: Allow, - desc: "reimplementation of Option::map_or", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FUTURE_NOT_SEND", - default_level: Allow, - desc: "public Futures must be Send", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LARGE_FUTURES", - default_level: Allow, - desc: "large future may lead to unexpected stack overflows", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IF_LET_MUTEX", - default_level: Deny, - desc: "locking a `Mutex` in an `if let` block can cause deadlocks", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IF_NOT_ELSE", - default_level: Allow, - desc: "`if` branches that could be swapped so no negation operation is necessary on the condition", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EQUATABLE_IF_LET", - default_level: Allow, - desc: "using pattern matching instead of equality", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_ASYNC_FN", - default_level: Warn, - desc: "manual implementations of `async` functions can be simplified using the dedicated syntax", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PANIC_IN_RESULT_FN", - default_level: Allow, - desc: "functions of type `Result<..>` that contain `panic!()` or assertion", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MACRO_USE_IMPORTS", - default_level: Allow, - desc: "#[macro_use] is no longer needed", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PATTERN_TYPE_MISMATCH", - default_level: Allow, - desc: "type of pattern does not match the expression type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNWRAP_IN_RESULT", - default_level: Allow, - desc: "functions of type `Result<..>` or `Option`<...> that contain `expect()` or `unwrap()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SEMICOLON_IF_NOTHING_RETURNED", - default_level: Allow, - desc: "add a semicolon if nothing is returned", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ASYNC_YIELDS_ASYNC", - default_level: Deny, - desc: "async blocks that return a type that can be awaited", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DISALLOWED_MACROS", - default_level: Warn, - desc: "use of a disallowed macro", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DISALLOWED_METHODS", - default_level: Warn, - desc: "use of a disallowed method call", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EMPTY_DROP", - default_level: Allow, - desc: "empty `Drop` implementations", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STR_TO_STRING", - default_level: Allow, - desc: "using `to_string()` on a `&str`, which should be `to_owned()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRING_TO_STRING", - default_level: Allow, - desc: "using `to_string()` on a `String`, which should be `clone()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ZERO_SIZED_MAP_VALUES", - default_level: Allow, - desc: "usage of map with zero-sized value type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::VEC_INIT_THEN_PUSH", - default_level: Warn, - desc: "`push` immediately after `Vec` creation", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_SLICING", - default_level: Warn, - desc: "redundant slicing of the whole range of a type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FROM_STR_RADIX_10", - default_level: Warn, - desc: "from_str_radix with radix 10", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IF_THEN_SOME_ELSE_NONE", - default_level: Allow, - desc: "Finds if-else that could be written using either `bool::then` or `bool::then_some`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BOOL_ASSERT_COMPARISON", - default_level: Warn, - desc: "Using a boolean as comparison value in an assert_* macro when there is no need", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNUSED_ASYNC", - default_level: Allow, - desc: "finds async functions with no await statements", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DISALLOWED_TYPES", - default_level: Warn, - desc: "use of disallowed types", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_ENFORCED_IMPORT_RENAMES", - default_level: Warn, - desc: "enforce import renames", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STRLEN_ON_C_STRINGS", - default_level: Warn, - desc: "using `libc::strlen` on a `CString` or `CStr` value, while `as_bytes().len()` or `to_bytes().len()` respectively can be used instead", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SELF_NAMED_CONSTRUCTORS", - default_level: Warn, - desc: "method should not have the same name as the type it is implemented for", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ITER_NOT_RETURNING_ITERATOR", - default_level: Allow, - desc: "methods named `iter` or `iter_mut` that do not return an `Iterator`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_ASSERT", - default_level: Allow, - desc: "`panic!` and only a `panic!` in `if`-then statement", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NON_SEND_FIELDS_IN_SEND_TY", - default_level: Allow, - desc: "there is a field that is not safe to be sent to another thread in a `Send` struct", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNDOCUMENTED_UNSAFE_BLOCKS", - default_level: Allow, - desc: "creating an unsafe block without explaining why it is safe", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_SAFETY_COMMENT", - default_level: Allow, - desc: "annotating safe code with a safety comment", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FORMAT_IN_FORMAT_ARGS", - default_level: Warn, - desc: "`format!` used in a macro that does formatting", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TRAILING_EMPTY_ARRAY", - default_level: Allow, - desc: "struct with a trailing zero-sized array but without `#[repr(C)]` or another `repr` attribute", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_LATE_INIT", - default_level: Warn, - desc: "late initializations that can be replaced by a `let` statement with an initializer", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::RETURN_SELF_NOT_MUST_USE", - default_level: Allow, - desc: "missing `#[must_use]` annotation on a method returning `Self`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INIT_NUMBERED_FIELDS", - default_level: Warn, - desc: "numbered fields in tuple struct initializer", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_BITS", - default_level: Warn, - desc: "manual implementation of `size_of::() * 8` can be simplified with `T::BITS`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DEFAULT_UNION_REPRESENTATION", - default_level: Allow, - desc: "unions without a `#[repr(C)]` attribute", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ONLY_USED_IN_RECURSION", - default_level: Warn, - desc: "arguments that is only used in recursion can be removed", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DBG_MACRO", - default_level: Allow, - desc: "`dbg!` macro is intended as a debugging tool", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PRINT_WITH_NEWLINE", - default_level: Warn, - desc: "using `print!()` with a format string that ends in a single newline", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::CARGO_COMMON_METADATA", - default_level: Allow, - desc: "common metadata is defined in `Cargo.toml`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_FEATURE_NAMES", - default_level: Allow, - desc: "usage of a redundant feature name", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEGATIVE_FEATURE_NAMES", - default_level: Allow, - desc: "usage of a negative feature name", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MULTIPLE_CRATE_VERSIONS", - default_level: Allow, - desc: "multiple versions of the same crate being used", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::WILDCARD_DEPENDENCIES", - default_level: Allow, - desc: "wildcard dependencies being used", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LINT_GROUPS_PRIORITY", - default_level: Deny, - desc: "a lint group in `Cargo.toml` at the same priority as a lint", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_OWNED_EMPTY_STRINGS", - default_level: Warn, - desc: "detects cases of references to owned empty strings being passed as an argument to a function expecting `&str`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FORMAT_PUSH_STRING", - default_level: Allow, - desc: "`format!(..)` appended to existing `String`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LARGE_INCLUDE_FILE", - default_level: Allow, - desc: "including a large file", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TRIM_SPLIT_WHITESPACE", - default_level: Warn, - desc: "using `str::trim()` or alike before `str::split_whitespace`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::RC_CLONE_IN_VEC_INIT", - default_level: Warn, - desc: "initializing reference-counted pointer in `vec![elem; len]`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SWAP_PTR_TO_REF", - default_level: Warn, - desc: "call to `mem::swap` using pointer derived references", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISMATCHING_TYPE_PARAM_ORDER", - default_level: Allow, - desc: "type parameter positioned inconsistently between type def and impl block", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::READ_ZERO_BYTE_VEC", - default_level: Allow, - desc: "checks for reads into a zero-length `Vec`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DEFAULT_INSTEAD_OF_ITER_EMPTY", - default_level: Warn, - desc: "check `std::iter::Empty::default()` and replace with `std::iter::empty()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_REM_EUCLID", - default_level: Warn, - desc: "manually reimplementing `rem_euclid`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_RETAIN", - default_level: Warn, - desc: "`retain()` is simpler and the same functionalities", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ABSURD_EXTREME_COMPARISONS", - default_level: Deny, - desc: "a comparison with a maximum or minimum value that is always true or false", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STD_INSTEAD_OF_CORE", - default_level: Allow, - desc: "type is imported from std when available in core", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::STD_INSTEAD_OF_ALLOC", - default_level: Allow, - desc: "type is imported from std when available in alloc", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ALLOC_INSTEAD_OF_CORE", - default_level: Allow, - desc: "type is imported from alloc when available in core", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_INSTANT_ELAPSED", - default_level: Allow, - desc: "subtraction between `Instant::now()` and previous `Instant`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNCHECKED_DURATION_SUBTRACTION", - default_level: Allow, - desc: "finds unchecked subtraction of a 'Duration' from an 'Instant'", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PARTIALEQ_TO_NONE", - default_level: Warn, - desc: "Binary comparison to `Option::None` relies on `T: PartialEq`, which is unneeded", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_CLAMP", - default_level: Warn, - desc: "using a clamp pattern instead of the clamp function", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_STRING_NEW", - default_level: Allow, - desc: "empty String is being created manually", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNUSED_PEEKABLE", - default_level: Allow, - desc: "creating a peekable iterator without using any of its methods", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BOOL_TO_INT_WITH_IF", - default_level: Allow, - desc: "using if to convert bool to int", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BOX_DEFAULT", - default_level: Warn, - desc: "Using Box::new(T::default()) instead of Box::default()", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IMPLICIT_SATURATING_ADD", - default_level: Warn, - desc: "Perform saturating addition instead of implicitly checking max bound of data type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_TRAIT_METHODS", - default_level: Allow, - desc: "trait implementation uses default provided method", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FROM_RAW_WITH_VOID_PTR", - default_level: Warn, - desc: "creating a `Box` from a void raw pointer", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SUSPICIOUS_XOR_USED_AS_POW", - default_level: Allow, - desc: "XOR (`^`) operator possibly used as exponentiation operator", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_IS_ASCII_CHECK", - default_level: Warn, - desc: "use dedicated method to check ascii range", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SEMICOLON_INSIDE_BLOCK", - default_level: Allow, - desc: "add a semicolon inside the block", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SEMICOLON_OUTSIDE_BLOCK", - default_level: Allow, - desc: "add a semicolon outside the block", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PERMISSIONS_SET_READONLY_FALSE", - default_level: Warn, - desc: "Checks for calls to `std::fs::Permissions.set_readonly` with argument `false`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SIZE_OF_REF", - default_level: Warn, - desc: "Argument to `std::mem::size_of_val()` is a double-reference, which is almost certainly unintended", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MULTIPLE_UNSAFE_OPS_PER_BLOCK", - default_level: Allow, - desc: "more than one unsafe operation per `unsafe` block", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::EXTRA_UNUSED_TYPE_PARAMETERS", - default_level: Warn, - desc: "unused type parameters in function definitions", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NO_MANGLE_WITH_RUST_ABI", - default_level: Allow, - desc: "convert Rust ABI functions to C ABI", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::COLLECTION_IS_NEVER_READ", - default_level: Allow, - desc: "a collection is never queried", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_ASSERT_MESSAGE", - default_level: Allow, - desc: "checks assertions without a custom panic message", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_ASYNC_BLOCK", - default_level: Warn, - desc: "`async { future.await }` can be replaced by `future`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LET_WITH_TYPE_UNDERSCORE", - default_level: Warn, - desc: "unneeded underscore type (`_`) in a variable declaration", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ALLOW_ATTRIBUTES", - default_level: Allow, - desc: "`#[allow]` will not trigger if a warning isn't found. `#[expect]` triggers if there are no warnings.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_MAIN_SEPARATOR_STR", - default_level: Warn, - desc: "`&std::path::MAIN_SEPARATOR.to_string()` can be replaced by `std::path::MAIN_SEPARATOR_STR`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_STRUCT_INITIALIZATION", - default_level: Allow, - desc: "struct built from a base that can be written mode concisely", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_BOX_RETURNS", - default_level: Allow, - desc: "Needlessly returning a Box", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LINES_FILTER_MAP_OK", - default_level: Warn, - desc: "filtering `std::io::Lines` with `filter_map()`, `flat_map()`, or `flatten()` might cause an infinite loop", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TESTS_OUTSIDE_TEST_MODULE", - default_level: Allow, - desc: "A test function is outside the testing module.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_SLICE_SIZE_CALCULATION", - default_level: Warn, - desc: "manual slice size calculation", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ITEMS_AFTER_TEST_MODULE", - default_level: Warn, - desc: "An item was found after the testing module `tests`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::DEFAULT_CONSTRUCTED_UNIT_STRUCTS", - default_level: Warn, - desc: "unit structs can be constructed without calling `default`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_FIELDS_IN_DEBUG", - default_level: Allow, - desc: "missing fields in manual `Debug` implementation", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::HOST_ENDIAN_BYTES", - default_level: Allow, - desc: "disallows usage of the `to_ne_bytes` method", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LITTLE_ENDIAN_BYTES", - default_level: Allow, - desc: "disallows usage of the `to_le_bytes` method", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::BIG_ENDIAN_BYTES", - default_level: Allow, - desc: "disallows usage of the `to_be_bytes` method", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_TYPE_ANNOTATIONS", - default_level: Allow, - desc: "warns about needless / redundant type annotations.", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ARC_WITH_NON_SEND_SYNC", - default_level: Warn, - desc: "using `Arc` with a type that does not implement `Send` and `Sync`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_IF", - default_level: Warn, - desc: "checks for empty if branches", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MIN_IDENT_CHARS", - default_level: Allow, - desc: "disallows idents that are too short", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LARGE_STACK_FRAMES", - default_level: Allow, - desc: "checks for functions that allocate a lot of stack space", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SINGLE_RANGE_IN_VEC_INIT", - default_level: Warn, - desc: "checks for initialization of `Vec` or arrays which consist of a single range", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_PASS_BY_REF_MUT", - default_level: Allow, - desc: "using a `&mut` argument when it's not mutated", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NON_CANONICAL_CLONE_IMPL", - default_level: Warn, - desc: "non-canonical implementation of `Clone` on a `Copy` type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::SINGLE_CALL_FN", - default_level: Allow, - desc: "checks for functions that are only used once", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::LEGACY_NUMERIC_CONSTANTS", - default_level: Warn, - desc: "checks for usage of legacy std numeric constants and methods", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_RANGE_PATTERNS", - default_level: Warn, - desc: "manually writing range patterns using a combined OR pattern (`|`)", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TUPLE_ARRAY_CONVERSIONS", - default_level: Allow, - desc: "checks for tuple<=>array conversions that are not done with `.into()`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_IS_INFINITE", - default_level: Warn, - desc: "use dedicated method to check if a float is infinite", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::FOUR_FORWARD_SLASHES", - default_level: Warn, - desc: "comments with 4 forward slashes (`////`) likely intended to be doc comments (`///`)", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ERROR_IMPL_ERROR", - default_level: Allow, - desc: "exported types named `Error` that implement `Error`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ABSOLUTE_PATHS", - default_level: Allow, - desc: "checks for usage of an item without a `use` statement", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REDUNDANT_LOCALS", - default_level: Deny, - desc: "redundant redefinition of a local binding", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IGNORED_UNIT_PATTERNS", - default_level: Allow, - desc: "suggest replacing `_` by `()` in patterns where appropriate", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::RESERVE_AFTER_INITIALIZATION", - default_level: Warn, - desc: "`reserve` called immediately after `Vec` creation", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IMPLIED_BOUNDS_IN_IMPLS", - default_level: Warn, - desc: "specifying bounds that are implied by other bounds in `impl Trait` type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MISSING_ASSERTS_FOR_INDEXING", - default_level: Allow, - desc: "indexing into a slice multiple times without an `assert`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNNECESSARY_MAP_ON_CONSTRUCTOR", - default_level: Warn, - desc: "using `map`/`map_err` on `Option` or `Result` constructors", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::NEEDLESS_BORROWS_FOR_GENERIC_ARGS", - default_level: Warn, - desc: "taking a reference that is going to be automatically dereferenced", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_HASH_ONE", - default_level: Warn, - desc: "manual implementations of `BuildHasher::hash_one`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ITER_WITHOUT_INTO_ITER", - default_level: Allow, - desc: "implementing `iter(_mut)` without an associated `IntoIterator for (&|&mut) Type` impl", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INTO_ITER_WITHOUT_ITER", - default_level: Allow, - desc: "implementing `IntoIterator for (&|&mut) Type` without an inherent `iter(_mut)` method", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ITER_OVER_HASH_TYPE", - default_level: Allow, - desc: "iterating over unordered hash-based types (`HashMap` and `HashSet`)", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::IMPL_HASH_BORROW_WITH_STR_AND_BYTES", - default_level: Deny, - desc: "ensures that the semantics of `Borrow` for `Hash` are satisfied when `Borrow` and `Borrow<[u8]>` are implemented", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::REPEAT_VEC_WITH_CAPACITY", - default_level: Warn, - desc: "repeating a `Vec::with_capacity` expression which does not retain capacity", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNINHABITED_REFERENCES", - default_level: Allow, - desc: "reference to uninhabited type", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INEFFECTIVE_OPEN_OPTIONS", - default_level: Warn, - desc: "usage of both `write(true)` and `append(true)` on same `OpenOptions`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::UNCONDITIONAL_RECURSION", - default_level: Warn, - desc: "detect unconditional recursion in some traits implementation", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::PUB_UNDERSCORE_FIELDS", - default_level: Allow, - desc: "struct field prefixed with underscore and marked public", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::THREAD_LOCAL_INITIALIZER_CAN_BE_MADE_CONST", - default_level: Warn, - desc: "suggest using `const` in `thread_local!` macro", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INCOMPATIBLE_MSRV", - default_level: Warn, - desc: "ensures that all items used in the crate are available for the current MSRV", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::TO_STRING_TRAIT_IMPL", - default_level: Warn, - desc: "check for direct implementations of `ToString`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ASSIGNING_CLONES", - default_level: Warn, - desc: "assigning the result of cloning may be inefficient", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::ZERO_REPEAT_SIDE_EFFECTS", - default_level: Warn, - desc: "usage of zero-sized initializations of arrays or vecs causing side effects", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::MANUAL_UNWRAP_OR_DEFAULT", - default_level: Warn, - desc: "check if a `match` or `if let` can be simplified with `unwrap_or_default`", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -[compiler/rustc_lint/src/late.rs:468:17] &lint = Lint { - name: "clippy::INTEGER_DIVISION_REMAINDER_USED", - default_level: Allow, - desc: "use of disallowed default division and remainder operations", - edition_lint_opts: None, - report_in_external_macro: true, - future_incompatible: None, - is_loaded: true, - feature_gate: None, - crate_level_only: false, -} -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:15:20 - | -LL | const REF: &i32 = &ARR[idx()]; // This should be linted, since `suppress-restriction-lint-in-const` default is false. - | ^^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - = note: the suggestion might not be applicable in constant blocks - = note: `-D clippy::indexing-slicing` implied by `-D warnings` - = help: to override `-D warnings` add `#[allow(clippy::indexing_slicing)]` - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:28:5 - | -LL | x[index]; - | ^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:31:5 - | -LL | x[4]; - | ^^^^ - | - = note: `-D clippy::out-of-bounds-indexing` implied by `-D warnings` - = help: to override `-D warnings` add `#[allow(clippy::out_of_bounds_indexing)]` - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:33:5 - | -LL | x[1 << 3]; - | ^^^^^^^^^ - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:44:14 - | -LL | const { &ARR[idx()] }; - | ^^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - = note: the suggestion might not be applicable in constant blocks - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:47:14 - | -LL | const { &ARR[idx4()] }; - | ^^^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - = note: the suggestion might not be applicable in constant blocks - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:54:5 - | -LL | y[4]; - | ^^^^ - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:57:5 - | -LL | v[0]; - | ^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:59:5 - | -LL | v[10]; - | ^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:61:5 - | -LL | v[1 << 3]; - | ^^^^^^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:69:5 - | -LL | x[N]; - | ^^^^ - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:72:5 - | -LL | v[N]; - | ^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: indexing may panic - --> tests/ui/indexing_slicing_index.rs:74:5 - | -LL | v[M]; - | ^^^^ - | - = help: consider using `.get(n)` or `.get_mut(n)` instead - -error: index is out of bounds - --> tests/ui/indexing_slicing_index.rs:78:13 - | -LL | let _ = x[4]; - | ^^^^ - -error: aborting due to 14 previous errors - - -full stdout: - - -FAILURES: - tests/ui/indexing_slicing_index.rs - -test result: FAIL. 1 failed; 972 filtered out; - - - -Command did not execute successfully. -Expected success, got: exit status: 101 -Add `-v` to see more details. -