rust/library/core
Matthias Krüger 32062b4b8e
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`.
2024-10-14 17:06:36 +02:00
..
benches Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
src Rollup merge of #131384 - saethlin:precondition-tests, r=ibraheemdev 2024-10-14 17:06:36 +02:00
tests Rollup merge of #131616 - RalfJung:const_ip, r=tgross35 2024-10-14 06:04:29 +02:00
Cargo.toml Port std library to RTEMS 2024-09-03 09:19:29 +02:00