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

Handle missing Token::Delim variant when rendering errors #213

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

adamreichold
Copy link
Member

Also fold render_single_char_token into render_token so that in the future, the compiler can check the exhaustiveness of the match and warn us of missing tokens.

Closes #212

Also fold `render_single_char_token` into `render_token` so that in the future,
the compiler can check the exhaustiveness of the match and warn us of missing
tokens.
@teymour-aldridge
Copy link
Collaborator

Looks good

@cfvescovo
Copy link
Member

LGTM

@cfvescovo cfvescovo merged commit 9843bc8 into master Oct 24, 2024
5 checks passed
@adamreichold adamreichold deleted the fix-issue221 branch October 28, 2024 07:15
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.

Using map_err on a SelectorErrorKind error results in a panic
3 participants