Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Product
GitHub Copilot
Write better code with AI
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
annotate-snippets-rs
Public
Notifications
You must be signed in to change notification settings
Fork
44
Star
315
Code
Issues
20
Pull requests
12
Actions
Projects
0
Wiki
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit History
Commits on Jun 25, 2025
Merge pull request #226 from Muscraft/color-removal-diff
Show description for 1198546
Muscraft
authored
1198546
Copy full SHA for 1198546
fix: Color suggestion removal diff
Muscraft
committed
01b8da7
Copy full SHA for 01b8da7
test: Add rustc multiline-removal-suggestion
Muscraft
committed
e284907
Copy full SHA for e284907
Merge pull request #225 from Muscraft/fix-span-to-lines
Show description for 557126c
epage
authored
557126c
Copy full SHA for 557126c
fix: Make span_to_lines return at least one line
Muscraft
committed
3d4d913
Copy full SHA for 3d4d913
test: Add test for Suggestion with range 0..0
Muscraft
committed
e8ac439
Copy full SHA for e8ac439
Merge pull request #224 from Muscraft/adjust-spans
Show description for a1f58cd
Muscraft
authored
a1f58cd
Copy full SHA for a1f58cd
test: Adjust spans to match original test spans
Muscraft
committed
eb800f6
Copy full SHA for eb800f6
Merge pull request #223 from Muscraft/buffer-replacements
Show description for 8882929
epage
authored
8882929
Copy full SHA for 8882929
fix: Don't attempt out of bounds buffer replacments
Muscraft
committed
22e1e54
Copy full SHA for 22e1e54
test: Add a test for out of bounds replacement
Muscraft
committed
2ef8888
Copy full SHA for 2ef8888
Commits on Jun 24, 2025
Merge pull request #222 from Muscraft/all-examples-tested
Show description for 07ee0ac
epage
authored
07ee0ac
Copy full SHA for 07ee0ac
test: Ensure all examples have a test
Muscraft
committed
a0d26c6
Copy full SHA for a0d26c6
Merge pull request #220 from Muscraft/add-short-message
Show description for a81dc31
epage
authored
a81dc31
Copy full SHA for a81dc31
feat: Add support for "short message"
Muscraft
committed
7a77696
Copy full SHA for 7a77696
test: Add rustc short error format test
Muscraft
committed
51b2678
Copy full SHA for 51b2678
Merge pull request #219 from Muscraft/atleast-one-line
Show description for b228756
epage
authored
b228756
Copy full SHA for b228756
fix: Ensure empty sources have one "line"
Muscraft
committed
2324214
Copy full SHA for 2324214
test: Add rustc test with empty source
Muscraft
committed
f410552
Copy full SHA for f410552
Merge pull request #218 from Muscraft/remove-origin-label
Show description for 24573e2
Muscraft
authored
24573e2
Copy full SHA for 24573e2
fix!: Remove of Origin::label
Muscraft
committed
8578177
Copy full SHA for 8578177
Commits on Jun 12, 2025
Merge pull request #217 from Muscraft/fix-annotation-sorting
Show description for 8284fd3
Muscraft
authored
8284fd3
Copy full SHA for 8284fd3
fix: Remove unneeded annotation sorting
Muscraft
committed
0c8bb37
Copy full SHA for 0c8bb37
test: Add rustc tests for annotation sorting
Muscraft
committed
7a77fce
Copy full SHA for 7a77fce
Merge pull request #216 from Muscraft/annotating-newlines
Show description for b6a8199
epage
authored
b6a8199
Copy full SHA for b6a8199
fix: Match how rustc handles annotating newlines
Muscraft
committed
47e7ec6
Copy full SHA for 47e7ec6
test: Add rustc tests for pointing at end of line
Muscraft
committed
5cc5a3c
Copy full SHA for 5cc5a3c
Merge pull request #215 from Muscraft/multiline-reorder
Show description for ab692e6
epage
authored
ab692e6
Copy full SHA for ab692e6
fix: Match rustc's multiline reordering
Muscraft
committed
c8041fe
Copy full SHA for c8041fe
test: Add another rustc multiline test
Muscraft
committed
a4c20fb
Copy full SHA for a4c20fb
Merge pull request #214 from Muscraft/match-group-trailing-line
Show description for e14a69d
epage
authored
e14a69d
Copy full SHA for e14a69d
fix: Match rustc's first group trailing line
Muscraft
committed
14fb674
Copy full SHA for 14fb674
Merge pull request #213 from Muscraft/long-spans-trim-middle
Show description for a65bbc2
epage
authored
a65bbc2
Copy full SHA for a65bbc2
feat: Trim the middle of long spans
Muscraft
committed
76f8220
Copy full SHA for 76f8220
fix: Don't add margin when span is near line end
Muscraft
committed
6819166
Copy full SHA for 6819166
Pagination
Previous
Next
You can’t perform that action at this time.