Closed
Description
even read-only access can be bad, because between two calls to hash
, the cell might have changed its value, even if there are only immutable references present.
cc #729
should be fairly straight forward.
- Find impls of the above traits
- check if the type has fields that have interior mutability
- check if the impl-method has an ExprField for one of the interior mutability fields
bonus points for also checking inherent methods that are called in the impl method for interior mutation.