pub fn parse_generic_params(
par: &mut Parser<'_>,
) -> ParseResult<Node<Vec<GenericParameter>>>
Expand description
Parse an angle-bracket-wrapped list of generic arguments (eg. <T, R: SomeTrait>
in fn foo<T, R: SomeTrait>(some_arg: u256) -> bool
). # Panics
Panics if the first token isn’t <
.