about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-14 17:06:36 +0200
committerGitHub <noreply@github.com>2024-10-14 17:06:36 +0200
commit32062b4b8e95ce38302dd7a3e804e5fe1e8bb943 (patch)
treea8e1f107001838e704213e35a3326a9c2c6b5b2a /compiler/rustc_codegen_llvm/src
parent43bf4f1fd361ad898a3580188d158fc88b28a4a8 (diff)
parenta3606d7ee3dd9d910578a81b2992e61521b1ce21 (diff)
downloadrust-32062b4b8e95ce38302dd7a3e804e5fe1e8bb943.tar.gz
rust-32062b4b8e95ce38302dd7a3e804e5fe1e8bb943.zip
Rollup merge of #131384 - saethlin:precondition-tests, r=ibraheemdev
Update precondition tests (especially for zero-size access to null)

I don't much like the current way I've updated the precondition check helpers, but I couldn't come up with anything better. Ideas welcome.

I've organized `tests/ui/precondition-checks` mostly with one file per function that has `assert_unsafe_precondition` in it, with revisions that check each precondition. The important new test is `tests/ui/precondition-checks/zero-size-null.rs`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions