Skip to main content

parse_when_list

Function parse_when_list 

Source
fn parse_when_list(
    key: &Ident,
    content: ParseStream<'_>,
) -> Result<InheritsHint>
Expand description

The content of a parameter-level when(...) hint in inherits(...) (key is the when keyword, for error spans): its classes, spelled as in inherits(...) (each string literal and each class = "..." names one class, none split on commas), and its required message = "...".