fn check_trailing_tokens<'psess>(
iter: &mut TokenStreamIter<'_>,
psess: &'psess ParseSess,
ident: Ident,
) -> PResult<'psess, ()>Expand description
Checks if there are any remaining tokens (for example, ${ignore($valid, extra)}) and create
a diag with the correct arg count if so.