mutable_key_type
doesn't recursively consider ignore_interior_mutability
config
#9801
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Adding
bytes::Bytes
doesn't catch the FP in #5325 (comment):I think what's happening is that the check for
self.ignore_mut_def_ids.contains
is shallow, butty.is_freeze
is deep. But it might be something else as the path fromHeaderName
->Bytes
is fairly complex: https://docs.rs/http/latest/src/http/header/name.rs.html#33-35cc @llogiq
The text was updated successfully, but these errors were encountered: