{
"id": "rust-expect",
"language": "rust",
"group": "reliability",
"listingTitle": "Review Rust expect calls",
"title": "Review Rust expect calls",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "core",
"why": "expect terminates the process and its invariant can become stale as code evolves.",
"suggestion": "Propagate or handle the error unless the message documents a genuine invariant.",
"version": 8,
"semanticMaturity": "token",
"securityKind": "none",
"taxonomy": [
"reliability"
],
"requirements": [
"sourceText"
],
"packs": [
"rust",
"cargo"
],
"implementation": "src/languages/rust/rules.rs",
"languages": [
"rust"
],
"frameworks": [],
"languageVersions": [],
"limitations": [
"The rule uses masked source tokens and does not perform Rust type resolution.",
"Conventional test modules, lint-allowed items, literal or fully escaped regex construction, regex capture group zero, generated catalog invariants, documented UTF-8 masking invariants, and messages that explicitly state a construction-time invariant are excluded."
]
}