Skip to content

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

Merged
cfvescovo merged 1 commit intomasterfrom
fix-issue221
Oct 24, 2024
Merged

Handle missing Token::Delim variant when rendering errors#213
cfvescovo merged 1 commit intomasterfrom
fix-issue221

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
@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