Skip to content

Use new spanned diagnostics #320

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Jun 23, 2025

This will also use the latest spanned crate, so even with debug prints one won't get the [0..0] byte offset messages anymore

Diagnostics now look like

image

pointing to both the source code that emitted the error as well as the processed text during whose processing the error occurred

@oli-obk oli-obk force-pushed the annotate-snippets branch from d20a40b to 1b66c69 Compare June 25, 2025 13:49
@oli-obk oli-obk force-pushed the annotate-snippets branch from 1b66c69 to f9bf422 Compare June 25, 2025 13:52
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.

1 participant