Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse T<$ty>, $ty<T>, $ty::T #945

Merged
merged 6 commits into from
Dec 20, 2020
Merged

Parse T<$ty>, $ty<T>, $ty::T #945

merged 6 commits into from
Dec 20, 2020

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Dec 20, 2020

No description provided.

Aaron1011 and others added 6 commits December 12, 2020 16:12
Previously, `peek2` was used to check for `::` or `<` following a
`None`-delimited group. However, `peek2` will look *inside*` a
`None`-delimited group, so this code would treat input like
`{{ Vec<u8> }}` as having an angle bracket *after* the `None`-delimited
group.

We now consume the `None`-delimited group by parsing it, and then use
`peek` to check for tokens that occur *after* the `None`-delimited
group.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants