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

Update annotate-snippets #6391

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clubby789
Copy link
Contributor

This will allow rust-lang/rust to eliminate a duplicate dependency on two different versions of annotate-snippets. Extracted from #6366

@ytmimi
Copy link
Contributor

ytmimi commented Nov 10, 2024

@clubby789 Can you provide an example of what the error output looks like before and after this change?

@clubby789
Copy link
Contributor Author

Checking with the deprecated attr warning, there seems to be no difference in output
image
image

Copy link
Contributor

@ytmimi ytmimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for confirming that!

@ytmimi
Copy link
Contributor

ytmimi commented Nov 12, 2024

Taking a look at the changelog, these breaking changes stick out to me: Specifically Switched from char spans to byte spans #90, as I'm certain it was the mismatch between bytes and chars that #6084 was trying to fix.

To the best of my knowledge rustfmt has always used byte offsets so before merging I want to test to see if bumping our annotate-snippets dependency fixes anything else.

@ytmimi ytmimi added pr-ready-to-merge release-notes Needs an associated changelog entry and removed pr-not-reviewed labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-ready-to-merge release-notes Needs an associated changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants