Regression in useless_transmute
due to rustup
#5343
Labels
C-bug
Category: Clippy is not doing the correct thing
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
I-false-positive
Issue: The lint was triggered on code it shouldn't have
T-middle
Type: Probably requires verifiying types
After rust-lang/rust#69189, the following check returns
true
for types, where only the lifetimes differ:&'a T == &'b T
rust-clippy/clippy_lints/src/transmute.rs
Lines 303 to 307 in c036c4f
According to rust-lang/rust#69189 (comment), this probably needs to be fixed by checking the lifetimes of the types with MIR
borrowck
.Originally posted by @flip1995 in #5333
The text was updated successfully, but these errors were encountered: