Assert that a panic happens, and optionally what kind of panic.
# Cargo.toml
[dependencies]
assert-panic = "1.0.1"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Assert that a panic occurs in a test.
No known issues recorded.
No dependency data recorded yet.