Closed
Description
In the latest test suite run in Miri, test_rc_cyclic_with_one_ref
failed. This test was added in f03d0b3 as part of #75994. The cyclic Arc
tests work fine, so either the tests are different or something about the Rc
implementation is.
The error is "error: Undefined Behavior: not granting access to tag because incompatible item is protected: [Unique for <74172040> (call 24024731)]", which means that some memory is deallocated while a mutable reference to it exists that is kept alive because it was passed as an argument to some function that is still running.
Cc @mental32