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

Feat: use annotate-snippets to display error messages #76

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

Unparalleled-Calvin
Copy link
Contributor

Use annotate-snippets to display error messages.
References:

New pub APIs to extract information from a given rustc_span:Span:

  • crate::utils::log::{relative_pos_range, span_to_filename, span_to_line_number, span_to_source_code}

Effect:

@hxuhack hxuhack merged commit 8a9cbf6 into Artisan-Lab:main Nov 17, 2024
1 check passed
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.

2 participants