diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-14 17:06:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-14 17:06:36 +0200 |
| commit | 32062b4b8e95ce38302dd7a3e804e5fe1e8bb943 (patch) | |
| tree | a8e1f107001838e704213e35a3326a9c2c6b5b2a /compiler/rustc_codegen_llvm/src | |
| parent | 43bf4f1fd361ad898a3580188d158fc88b28a4a8 (diff) | |
| parent | a3606d7ee3dd9d910578a81b2992e61521b1ce21 (diff) | |
| download | rust-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
