make box decrement its contents when free'ing

This commit is contained in:
Folkert 2023-04-28 18:11:39 +02:00
parent 2ea69f07ef
commit 25d2d090e8
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 51 additions and 5 deletions

View file

@ -3296,7 +3296,6 @@ fn box_num() {
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
#[ignore = "triggers some UB somewhere in at least the llvm and dev backends"]
fn box_str() {
assert_evals_to!(
"Box.box \"short\"",