Unable to easily check for equality between trait objects within an Arc
#84239
Labels
C-bug
Category: This is a bug.
Arc
#84239
I tried this code (reference StackOverflow question) :
I expected to see this happen:
trait object comparison works as expected, with no false positives or false negatives.
Instead, this happened:
see StackOverflow explanation. Fat pointer comparison is a complex topic and I believe it's a papercut issue that the developper has to understand the internals of fat pointer layout to be able to check for equality
The text was updated successfully, but these errors were encountered: