summary refs log tree commit diff
path: root/compiler/rustc_arena/src
AgeCommit message (Collapse)AuthorLines
2020-10-30Fix even more clippy warningsJoshua Nelson-6/+4
2020-10-27Fix typos in arena commentsDániel Buga-2/+2
2020-10-20Track element count only for types that need dropDániel Buga-2/+6
2020-10-17Make sure arenas don't allocate bigger than HUGE_PAGEDániel Buga-8/+4
2020-10-15Arena: Copy cold_path and remove rustc_data_structures dependencyDániel Buga-1/+6
2020-09-26Remove unused #[allow(...)] statements from compiler/est31-1/+0
2020-09-25Auto merge of #77172 - jonas-schievink:rollup-a041rou, r=jonas-schievinkbors-1/+1
Rollup of 15 pull requests Successful merges: - #75438 (Use adaptive SVG favicon for rustdoc like other rust sites) - #76304 (Make delegation methods of `std::net::IpAddr` unstably const) - #76724 (Allow a unique name to be assigned to dataflow graphviz output) - #76978 (Documented From impls in std/sync/mpsc/mod.rs) - #77044 (Liballoc bench vec use mem take not replace) - #77050 (Typo fix: "satsify" -> "satisfy") - #77074 (add array::from_ref) - #77078 (Don't use an if guard to check equality with a constant) - #77079 (Use `Self` in docs when possible) - #77081 (Merge two almost identical match arms) - #77121 (Updated html_root_url for compiler crates) - #77136 (Suggest `const_mut_refs`, not `const_fn` for mutable references in `const fn`) - #77160 (Suggest `const_fn_transmute`, not `const_fn`) - #77164 (Remove workaround for deref issue that no longer exists.) - #77165 (Followup to #76673) Failed merges: r? `@ghost`
2020-09-23/nightly/nightly-rustcErik Hofmayer-1/+1
2020-09-23Updated html_root_url for compiler cratesErik Hofmayer-1/+1
2020-09-21DroplessArena: Allocate objects from the end of memory chunkTomasz Miąsko-21/+16
Allocating from the end of memory chunk simplifies the alignment code and reduces the number of checked arithmetic operations.
2020-09-20Rollup merge of #76821 - est31:remove_redundant_nightly_features, ↵Ralf Jung-3/+1
r=oli-obk,Mark-Simulacrum Remove redundant nightly features Removes a bunch of redundant/outdated nightly features. The first commit removes a `core_intrinsics` use for which a stable wrapper has been provided since. The second commit replaces the `const_generics` feature with `min_const_generics` which might get stabilized this year. The third commit is the result of a trial/error run of removing every single feature and then adding it back if compile failed. A bunch of unused features are the result that the third commit removes.
2020-09-18Add bench_typed_arena_clear_100 benchest31-0/+11
2020-09-18Replace loop with drop_in_place callest31-6/+1
2020-09-18Dogfood new_uninit and maybe_uninit_slice in rustc_arenaest31-19/+16
2020-09-17Remove intrinsics::arith_offset use from libarenaest31-3/+1
The use of arith_offset was added in 803e9ae67b770d8500c4ab5862e988d29118356a before the stable wrapper of the intrinsic was available. https://doc.rust-lang.org/stable/std/intrinsics/fn.arith_offset.html
2020-08-30mv compiler to compiler/mark-0/+905