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

For 5.0.0: ContextReference: Mark as #[non_exhaustive] #416

Merged

Conversation

Enselic
Copy link
Collaborator

@Enselic Enselic commented Jan 7, 2022

Here is an adventurous PR.

This is so that we can add variants and variant fields without semver breakage. This
will likely be needed to fall back to "Plain Text" if embeds are missing. See
prototype code at Enselic#6 and discussion at sharkdp/bat#915 (comment). It would be nice to be able to fix that without requiring a major bump in syntect, and this PR should make that possible, with some luck.

If this gets merged for 5.0.0 I will add a CHANGELOG.md entry for it in #409 later (same with my other PRs)

So that we can add variants and variant fields without semver breakage. This
will likely be needed to fall back to "Plain Text" if embeds are missing. See
prototype code at #6
@Enselic Enselic force-pushed the mark-ContextReference-non_exhaustive branch from be69802 to fc13bdf Compare January 7, 2022 16:50
@trishume trishume merged commit aca8fa0 into trishume:master Jan 16, 2022
@Enselic Enselic deleted the mark-ContextReference-non_exhaustive branch February 23, 2022 06:12
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.

None yet

2 participants