Skip to main content

dep_kind_from_label_string

Function dep_kind_from_label_string 

Source
fn dep_kind_from_label_string(label: &str) -> Result<DepKind, ()>
Expand description

Converts a string to a DepKind. Used for handling attributes like rustc_clean that name dep kinds.