about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-30 20:36:34 +0200
committerGitHub <noreply@github.com>2023-07-30 20:36:34 +0200
commite3ca397593795e0ffa95c5db2d4577dfdd1fb575 (patch)
tree465d047fd2fbed840a13ea78099a5c6f14e42924 /compiler/rustc_codegen_llvm/src/errors.rs
parent27e3a740ae28ed0d8ad27b617337cf4bfc6291d2 (diff)
parent855b8b82a5859a5bd50a59757b2ddacf779784e0 (diff)
downloadrust-e3ca397593795e0ffa95c5db2d4577dfdd1fb575.tar.gz
rust-e3ca397593795e0ffa95c5db2d4577dfdd1fb575.zip
Rollup merge of #102198 - lukas-code:nonnull_as_ref, r=Amanieu
`const`-stablilize `NonNull::as_ref`

A bunch of pointer to reference methods have been made unstably const some time ago in #91823 under the feature gate `const_ptr_as_ref`.
Out of these, `NonNull::as_ref` can be implemented as a `const fn` in stable rust today, so i hereby propose to const stabilize this function only.

Tracking issue: #91822

``@rustbot`` label +T-libs-api -T-libs
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions