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

Diagnostic suggestion support #46

Open
zkat opened this issue Sep 10, 2021 · 0 comments
Open

Diagnostic suggestion support #46

zkat opened this issue Sep 10, 2021 · 0 comments
Labels
breaking A semver-major breaking change enhancement New feature or request help wanted Extra attention is needed

Comments

@zkat
Copy link
Owner

zkat commented Sep 10, 2021

One really cool relatively recent addition to rustc is the ability to add suggestions (in green) that propose specific changes to a snippet and highlight the changed text. It would be nice for this to have first-class support in miette. Maybe it can be implemented by just adding a "type" to DiagnosticSnippet to change its display mode?

@zkat zkat mentioned this issue Sep 10, 2021
14 tasks
@zkat zkat added breaking A semver-major breaking change help wanted Extra attention is needed enhancement New feature or request labels Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A semver-major breaking change enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant