about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-05-18 11:03:44 +0200
committerGitHub <noreply@github.com>2025-05-18 11:03:44 +0200
commit15859331d0c6097217a79fd5d5816ed580e56ba7 (patch)
tree5a31a6ec651f222af9a89f1d3f5985d7edc2ca91 /compiler/rustc_mir_transform/src
parent5592f41a004e0fd533527a68c6075c84ea2b6c25 (diff)
parente83a0a4bbe9cb89bb24f76b4422a3a9a23e45dc5 (diff)
downloadrust-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