diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-01-09 18:57:00 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2025-01-09 18:57:00 +0100 |
| commit | d0a74af9794d077cea7ed8979071de122334e503 (patch) | |
| tree | 04334285db14632ddcee8f983af7009613c4a55e /clippy_lints/src/utils | |
| parent | 0faf8c7c62377984a6c710c329852fdc2d09824e (diff) | |
Merge commit '19e305bb57a7595f2a8d81f521c0dd8bf854e739' into clippy-subtree-update
Diffstat (limited to 'clippy_lints/src/utils')
| -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 a5fad68eea1..08c178ed229 100644 --- a/clippy_lints/src/utils/internal_lints/invalid_paths.rs +++ b/clippy_lints/src/utils/internal_lints/invalid_paths.rs @@ -73,6 +73,7 @@ pub fn check_path(cx: &LateContext<'_>, path: &[&str]) -> bool { SimplifiedType::Slice, SimplifiedType::Str, SimplifiedType::Bool, + SimplifiedType::Char, ] .iter() .flat_map(|&ty| cx.tcx.incoherent_impls(ty).iter()) |
