Avoid leaking block expression values
This commit is contained in:
parent
7f3e8551dd
commit
4fef39113a
23 changed files with 10934 additions and 10634 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue