about summary refs log tree commit diff
path: root/compiler/rustc_arena
AgeCommit message (Expand)AuthorLines
2025-04-19Introduce Arena::try_alloc_from_iter.Camille GILLOT-23/+45
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-3/+1
2025-03-09Rollup merge of #138084 - nnethercote:workspace-lints, r=jieyouxuMatthias Krüger-1/+3
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-08Specify rust lints for `compiler/` crates via Cargo.Nicholas Nethercote-0/+3
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-13/+13
2025-02-22Upgrade the compiler to edition 2024Michael Goulet-1/+1
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-1/+1
2024-10-21move strict provenance lints to new feature gate, remove old feature gatesRalf Jung-1/+0
2024-09-13Remove unnecessary lifetimes from `Arena`.Nicholas Nethercote-14/+14
2024-08-27compiler: Remove feature(new_uninit)Jubilee Young-1/+0
2024-08-16Add `warn(unreachable_pub)` to `rustc_arena`.Nicholas Nethercote-11/+12
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+6
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-7/+9
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-1/+1
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-19Fix `Stable` trait and its impls to work with the new `with_tables`Oli Scherer-0/+13
2023-12-05rustc_arena: add `alloc_str`Josh Stone-0/+22
2023-12-04Document reentrancy in `*Arena::alloc_from_iter`Nadrieril-16/+25
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-0/+2
2023-10-25Stabilize `[const_]pointer_byte_offsets`Maybe Waffle-1/+0
2023-10-08rustdoc: remove rust logo from non-Rust cratesMichael Howell-0/+2
2023-10-03Remove the `TypedArena::alloc_from_iter` specialization.Nicholas Nethercote-90/+45
2023-09-28Inline and remove `DroplessArena::alloc_raw_without_grow`.Nicholas Nethercote-29/+22
2023-09-28Reduce `grow_and_alloc_raw` to a single call site.Nicholas Nethercote-12/+12
2023-09-28Make `DroplessArena::alloc` call `DroplessArena::alloc_raw`.Nicholas Nethercote-8/+1
2023-09-28Use `Layout::new` consistently in `DroplessArena::alloc`.Nicholas Nethercote-2/+3
2023-09-28Remove `unsafe` from `TypedArena::alloc_raw_slice`.Nicholas Nethercote-4/+4
2023-09-28Inline and remove `TypedArena::ensure_capacity`.Nicholas Nethercote-12/+7
2023-09-28Inline and remove `DroplessArena::grow_and_alloc`.Nicholas Nethercote-7/+1
2023-09-28Remove some unnecessary lifetimes.Nicholas Nethercote-3/+3
2023-09-28rustc_arena: tweak some comments.Nicholas Nethercote-2/+4
2023-09-25Rename `cold_path` to `outline`John Kåre Alsaker-2/+3
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-14Address commentsJohn Kåre Alsaker-7/+16
2023-08-14Allocate extra space to account for alignment lossesJohn Kåre Alsaker-4/+8
2023-08-14Optimize DroplessArena arena allocationJohn Kåre Alsaker-15/+55
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-06-15Extend `unused_must_use` to cover block exprs许杰友 Jieyou Xu (Joe)-1/+1
2023-04-28Deny the `unsafe_op_in_unsafe_fn` lint inJohn Bobbo-11/+31
2023-04-27Use `NonNull::new_unchecked` and `NonNull::len` inJohn Bobbo-5/+5
2023-04-09Allow `clippy::from_mut_ref`Nilstrieb-0/+9
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+1
2022-11-22`rustc_arena`: remove a couple of `ref` patternsMaybe Waffle-10/+6
2022-08-23Make use of `[wrapping_]byte_{add,sub}`Maybe Waffle-1/+2
2022-08-21Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger-1/+1
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-1/+1
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+2