Skip to main content

catch_kinds_and_strings

Function catch_kinds_and_strings 

Source
pub fn catch_kinds_and_strings(
    src: &str,
) -> (Vec<(SmolStr, Span)>, Vec<SmolStr>)
Expand description

The kinds src names in catch "kind" clauses, and its other strings.

Each kind comes with where it is written. A kind no other string literal spells and no built-in error carries is one nothing in the program can raise.