1
Fork 0

Avoid leaking block expression values

This commit is contained in:
Matthew Jasper 2020-10-24 22:30:57 +01:00
parent 7f3e8551dd
commit 4fef39113a
23 changed files with 10934 additions and 10634 deletions

View file

@ -1772,7 +1772,7 @@ fn test_append_drop_leak() {
catch_unwind(move || left.append(&mut right)).unwrap_err();
assert_eq!(DROPS.load(SeqCst), 4); // Rust issue #47949 ate one little piggy
assert_eq!(DROPS.load(SeqCst), 5);
}
#[test]