Rollup merge of #140511 - mathisbot:master, r=dtolnay

Stabilize `#![feature(non_null_from_ref)]`

This PR stabilizes the following:
```rust
impl<T: ?Sized> NonNull<T> {
    pub const fn from_ref(reference: &T) -> NonNull<T>;
    pub const fn from_mut(reference: &mut T) -> NonNull<T>;
}
```
The feature is tracked in [#130823](https://github.com/rust-lang/rust/issues/130823).
This commit is contained in:
León Orell Valerian Liehr 2025-05-18 11:03:44 +02:00 committed by GitHub
commit d9edc4c0ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available