that was definitely not the right version
This commit is contained in:
parent
c5a9adc2be
commit
9ab1e8e95c
@ -2948,7 +2948,7 @@ declare_clippy_lint! {
|
||||
/// assert_eq!((*any_box).type_id(), TypeId::of::<i32>());
|
||||
/// // ^ dereference first, to call `type_id` on `dyn Any`
|
||||
/// ```
|
||||
#[clippy::version = "1.47.0"]
|
||||
#[clippy::version = "1.72.0"]
|
||||
pub TYPE_ID_ON_BOX,
|
||||
suspicious,
|
||||
"calling `.type_id()` on `Box<dyn Any>`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user