Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
unreachable = "deny"
# Forbid `unimplemented!()`, a deliberate panic for unfinished code paths.
# Completes the no-panic family alongside `panic`/`unreachable`/`todo`; if a
# path truly isn't supported, return a proper `Result` error instead.
unimplemented = "deny"
# Forbid direct indexing/slicing (`a[i]`, `a[i..j]`) which panics out of bounds.
# Completes the no-panic family above by closing the remaining common panic
# source; prefer `.get(i)` / `.get(i..j)` so malformed input is handled, not fatal.
Expand Down
Loading