diff options
| author | Philipp Krones <hello@philkrones.com> | 2024-06-27 18:56:04 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2024-06-27 18:56:04 +0200 |
| commit | abdd057163e638da1ba8e0cae316348579fab9e9 (patch) | |
| tree | 715c645f6c91e2f064fdac928de3dbdd397c2253 /clippy_lints/src/utils/internal_lints | |
| parent | f90d702e66645bad4308acd073ae88ca405984bf (diff) | |
Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into clippy-subtree-update
Diffstat (limited to 'clippy_lints/src/utils/internal_lints')
| -rw-r--r-- | clippy_lints/src/utils/internal_lints/invalid_paths.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/utils/internal_lints/invalid_paths.rs b/clippy_lints/src/utils/internal_lints/invalid_paths.rs index c62ae8d718d..0beb0bb8ed4 100644 --- a/clippy_lints/src/utils/internal_lints/invalid_paths.rs +++ b/clippy_lints/src/utils/internal_lints/invalid_paths.rs @@ -69,6 +69,7 @@ pub fn check_path(cx: &LateContext<'_>, path: &[&str]) -> bool { SimplifiedType::Float(FloatTy::F64), SimplifiedType::Slice, SimplifiedType::Str, + SimplifiedType::Bool, ] .iter() .flat_map(|&ty| cx.tcx.incoherent_impls(ty).into_iter()) |
