Skip to main content

Module suppress

Module suppress 

Source

Functionsยง

extract_suppressed_kinds
Parse padlock: ignore[Kind1, Kind2] from a single comment line. The input may be a whole line (including leading // or /*) or just the content of a doc attribute string (Rust #[doc = "..."]).
suppressed_from_preceding_source
Scan the source text before node_start_byte for suppression directives.
suppressed_from_source_line
Variant for parsers (like the Rust syn frontend) that know the 1-indexed line number of the struct rather than its byte offset.