Skip to content

Conversation

@faculerena
Copy link

Applies here the fix suggested in this PR.

Original issue.

@epage
Copy link
Contributor

epage commented Nov 12, 2025

Have to double check with @Muscraft but I suspect this belongs in the rustc code calling annotate-snippets. annotate-snippets is a general library with no knowledge of import paths.

@faculerena
Copy link
Author

faculerena commented Nov 12, 2025

I'm not sure either, but I sent this PR to talk about that. I agree that the path part of the fix looks like it should be in rustc, but the issue will persist here for other strings (the prefix for origin & suggestion matches then the shared_prefix is "wrong" (not really wrong, but it does not feel right))

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