rust/library
Matthias Krüger 1817de609b
Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnay
Add `from_ref` and `from_mut` constructors to `core::ptr::NonNull`.

Relevant tracking issue: #130823

The `core::ptr::NonNull` type should have the convenience constructors `from_ref` and `from_mut` for parity with `core::ptr::from_ref` and `core::ptr::from_mut`.

Although the type in question already implements `From<&T>` and `From<&mut T>`, these new functions also carry the ability to be used in constant expressions (due to not being behind a trait).
2024-10-16 19:18:30 +02:00
..
alloc Auto merge of #131460 - jwong101:default-placement-new, r=ibraheemdev 2024-10-16 06:36:43 +00:00
backtrace@230570f2da
core Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnay 2024-10-16 19:18:30 +02:00
panic_abort
panic_unwind
portable-simd
proc_macro update Literal's intro 2024-10-02 01:27:11 +08:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #131746 - slanterns:once_box_order, r=joboet 2024-10-16 12:03:42 +02:00
stdarch@c881fe3231 stdarch: Bump stdarch submodule 2024-10-10 10:16:16 +00:00
sysroot
test Change a few &Option<T> into Option<&T> 2024-10-08 23:26:29 -04:00
unwind Use throw intrinsic from stdarch in wasm libunwind 2024-10-08 15:50:37 -05:00
windows_targets
Cargo.lock Update compiler-builtins to 0.1.133 2024-10-05 21:34:51 -05:00
Cargo.toml