rust/src/liballoc
bors 892cb143e5 Auto merge of #67290 - jonas-schievink:leak-audit, r=KodrAus
Audit liballoc for leaks in `Drop` impls when user destructor panics

Inspired by https://github.com/rust-lang/rust/pull/67243 and https://github.com/rust-lang/rust/pull/67235, this audits and hopefully fixes the remaining `Drop` impls in liballoc for resource leaks in the presence of panics in destructors called by the affected `Drop` impl.

This does not touch `Hash{Map,Set}` since they live in hashbrown. They have similar issues though.

r? @KodrAus
2020-02-26 12:48:53 +00:00
..
alloc liballoc: ignore tests in Miri instead of removing them entirely 2019-12-07 12:42:19 +01:00
benches Create benchmarks for BTreeMap::range 2020-02-07 00:57:54 +01:00
collections Auto merge of #67290 - jonas-schievink:leak-audit, r=KodrAus 2020-02-26 12:48:53 +00:00
prelude Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
raw_vec Rename Alloc to AllocRef 2020-01-27 21:39:51 +01:00
rc Format the world 2019-12-22 17:42:47 -05:00
sync Format the world 2019-12-22 17:42:47 -05:00
tests Auto merge of #67290 - jonas-schievink:leak-audit, r=KodrAus 2020-02-26 12:48:53 +00:00
alloc.rs Preparation for allocator aware Box 2020-02-11 13:16:20 +01:00
borrow.rs Format the world 2019-12-22 17:42:47 -05:00
boxed.rs Preparation for allocator aware Box 2020-02-11 13:16:20 +01:00
Cargo.toml bump rand to fix Miri failures 2019-08-04 14:50:26 +02:00
fmt.rs Remove redundant link texts 2019-12-26 05:04:46 -08:00
lib.rs Add #![doc(html_playground_url = ...)] to alloc crate 2020-01-30 21:14:39 +00:00
macros.rs Scope format! temporaries 2019-09-27 17:36:45 -04:00
raw_vec.rs Remove common usage pattern from AllocRef 2020-02-10 18:38:09 +01:00
rc.rs Rename Alloc to AllocRef 2020-01-27 21:39:51 +01:00
slice.rs reuse capacity variable in slice::repeat 2019-12-24 12:44:05 +08:00
str.rs Format the world 2019-12-22 17:42:47 -05:00
string.rs Change FromStr for String to use Infallible directly 2020-02-19 16:37:58 -05:00
sync.rs Rename Alloc to AllocRef 2020-01-27 21:39:51 +01:00
tests.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
vec.rs Auto merge of #67290 - jonas-schievink:leak-audit, r=KodrAus 2020-02-26 12:48:53 +00:00