diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2025-05-18 11:03:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-18 11:03:44 +0200 |
| commit | 15859331d0c6097217a79fd5d5816ed580e56ba7 (patch) | |
| tree | 5a31a6ec651f222af9a89f1d3f5985d7edc2ca91 /compiler/rustc_mir_transform/src | |
| parent | 5592f41a004e0fd533527a68c6075c84ea2b6c25 (diff) | |
| parent | e83a0a4bbe9cb89bb24f76b4422a3a9a23e45dc5 (diff) | |
| download | rust-15859331d0c6097217a79fd5d5816ed580e56ba7.tar.gz rust-15859331d0c6097217a79fd5d5816ed580e56ba7.zip | |
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).
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
