Attribute Macro panic_path

Source
#[panic_path]
Expand description

Highlight code paths that might panic under specific conditions. Accepts a string literal describing the potential panic scenarios, like #[panic_path("fails if input is empty")]. This attribute does not modify the item it annotates.