Test "mem::uninit_write_slice_cloned_no_drop" leaks memory #80116
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
The test
mem::uninit_write_slice_cloned_no_drop
added in #79607 leaks memory, which makes a Miri run of the test suite fail:Running Miri on the test suite is helpful to find bugs, so we should avoid deliberate leaks to still be able to detect accidental ones. Can the test be changed to use some other means of ensuring that
drop
is not called, e.g. with aBomb
type?Cc @drmeepster
The text was updated successfully, but these errors were encountered: