Skip to content

Color Primary annotations by their group level #211

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

Merged
merged 2 commits into from
Jun 12, 2025

Conversation

Muscraft
Copy link
Member

While working on matching rustc's output, I noticed that we were coloring all AnnotationKind::Primary (^) based on the first Level of a Message, not the Level for its Group. This was caused by us using one StyledBuffer for a whole Message, instead of using one per Group.

@epage epage merged commit f835cca into rust-lang:master Jun 12, 2025
15 checks passed
@Muscraft Muscraft deleted the fix-primary-color branch June 12, 2025 00:53
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