core::ub_checks - Rust
Description: Provides the `assert_unsafe_precondition` macro as well as some utility functions that cover common preconditions.

# Module ub_checks

Source
🔬This is a nightly-only experimental API. (`ub_checks`)
Expand description

Provides the `assert_unsafe_precondition` macro as well as some utility functions that cover common preconditions.

## Re-exports§

`pub use intrinsics::ub_checks as check_library_ub;`Experimental

## Macros§

assert_unsafe_preconditionExperimental
  Checks that the preconditions of an unsafe function are followed.