about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-09-09 00:17:51 -0700
committerGitHub <noreply@github.com>2024-09-09 00:17:51 -0700
commitfad44c424fe15241bed0ba7f6899d6ba8150b5d2 (patch)
treeb1c76c8e03c33afbdbd1d4306ef5835afe0259ac /compiler/rustc_codegen_llvm/src
parenta7c5797c90067b38e61110cde2f1bd254c1c68d3 (diff)
parent11d51aae863d46a73ad39ec607bd7592fdb836e3 (diff)
downloadrust-fad44c424fe15241bed0ba7f6899d6ba8150b5d2.tar.gz
rust-fad44c424fe15241bed0ba7f6899d6ba8150b5d2.zip
Rollup merge of #130107 - RalfJung:const-ptr-is-null, r=oli-obk
const: make ptr.is_null() stop execution on ambiguity

This seems better than saying `false` -- saying `false` is in fact actively unsound if `NonNull` then uses this to permit putting this pointer inside of it, but at runtime it turns out to be null.

Part of https://github.com/rust-lang/rust/issues/74939
Cc ```@rust-lang/wg-const-eval```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions