diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2021-01-21 22:35:05 -0500 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2021-02-04 21:29:49 -0500 |
| commit | a71a81948074f7a3e2b5ce0dee3ad98fa22f793b (patch) | |
| tree | 0222d8b0134ac0f0c5434d4308e4127ff96fc7b5 /library/alloc/src | |
| parent | dab3a80f235ed86d64d002e58b35adc3664e21a4 (diff) | |
| download | rust-a71a81948074f7a3e2b5ce0dee3ad98fa22f793b.tar.gz rust-a71a81948074f7a3e2b5ce0dee3ad98fa22f793b.zip | |
Revert "Avoid leaking block expression values"
This reverts commit 4fef39113a514bb270f5661a82fdba17d3e41dbb.
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/collections/btree/map/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/btree/map/tests.rs b/library/alloc/src/collections/btree/map/tests.rs index ba5a4442f56..cf6bf7c7c99 100644 --- a/library/alloc/src/collections/btree/map/tests.rs +++ b/library/alloc/src/collections/btree/map/tests.rs @@ -1882,7 +1882,7 @@ fn test_append_drop_leak() { catch_unwind(move || left.append(&mut right)).unwrap_err(); - assert_eq!(DROPS.load(SeqCst), 5); + assert_eq!(DROPS.load(SeqCst), 4); // Rust issue #47949 ate one little piggy } #[test] |
