#Edition 2024: if_let_rescope triggering on types that do not have significant drop?

1 messages · Page 1 of 1 (latest)

jagged dew
#

Why is this playground triggering if_let_rescope? &SigDrop definitely doesn't have significant drop?? Am I just missing something dumb here?

hybrid wraith
#

Maybe you should put your code as a comment there?

jagged dew
#

Yeah, with that I can reduce my code a little more

hybrid wraith
#

That's a yikes lol ferrisballSweat

real jasper
#

Ahh, it's doing that for a reference huh. That's a bad false positive