Sitelet
https://github.com/dtolnay/syn/commits/master/examples
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
/
Sign in
Sign up
Appearance settings
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 }}
dtolnay
/
syn
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
379
Star
3.4k
Code
Issues
66
Pull requests
9
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
syn
examples
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 6, 2026
Resolve non_kebab_case_bins warning
Show description for 8e37bca
dtolnay
committed
8e37bca
View commit details
Copy full SHA for 8e37bca
View code at this point
Browse repository at this point
Commits on Jul 19, 2026
Update documentation links to syn 3
dtolnay
committed
c2d63bf
View commit details
Copy full SHA for c2d63bf
View code at this point
Browse repository at this point
Commits on Jul 18, 2026
Format Token macro representation of tokens in Debug
dtolnay
committed
bb8921b
View commit details
Copy full SHA for bb8921b
View code at this point
Browse repository at this point
Commits on Jul 17, 2026
Touch up lazy-static example
dtolnay
committed
132d7cd
View commit details
Copy full SHA for 132d7cd
View code at this point
Browse repository at this point
Delete early return from lazy-static error case
Show description for fb251b4
dtolnay
committed
fb251b4
View commit details
Copy full SHA for fb251b4
View code at this point
Browse repository at this point
Resolve map_unwrap_or pedantic clippy lint in dump-syntax
Show description for 89ec275
dtolnay
committed
89ec275
View commit details
Copy full SHA for 89ec275
View code at this point
Browse repository at this point
Resolve manual_let_else pedantic clippy lint in dump-syntax
Show description for 376f371
dtolnay
committed
376f371
View commit details
Copy full SHA for 376f371
View code at this point
Browse repository at this point
Resolve needless_lifetimes clippy lint in heapsize
Show description for b4c6c8f
dtolnay
committed
b4c6c8f
View commit details
Copy full SHA for b4c6c8f
View code at this point
Browse repository at this point
Resolve collapsible_if clippy lint in lazy-static
Show description for 524db62
dtolnay
committed
524db62
View commit details
Copy full SHA for 524db62
View code at this point
Browse repository at this point
Resolve match_like_matches_macro clippy lint in trace-var
Show description for 7e3a038
dtolnay
committed
7e3a038
View commit details
Copy full SHA for 7e3a038
View code at this point
Browse repository at this point
Resolve if_same_then_else clippy lint in trace-var
Show description for c93c650
dtolnay
committed
c93c650
View commit details
Copy full SHA for c93c650
View code at this point
Browse repository at this point
Disable proc-macro2 "nightly" feature in examples
dtolnay
committed
d93a8f4
View commit details
Copy full SHA for d93a8f4
View code at this point
Browse repository at this point
Touch up heapsize example
dtolnay
committed
c3e6850
View commit details
Copy full SHA for c3e6850
View code at this point
Browse repository at this point
Update dump-syntax crate-level rustdoc
dtolnay
committed
df6e200
View commit details
Copy full SHA for df6e200
View code at this point
Browse repository at this point
Update dump-syntax example output
dtolnay
committed
46a0186
View commit details
Copy full SHA for 46a0186
View code at this point
Browse repository at this point
Format with 2024 edition rustfmt
dtolnay
committed
2b75881
View commit details
Copy full SHA for 2b75881
View code at this point
Browse repository at this point
Update most workspace members to 2024 edition
dtolnay
committed
39d40ad
View commit details
Copy full SHA for 39d40ad
View code at this point
Browse repository at this point
Update examples to match ergonomics
dtolnay
committed
3ec55b7
View commit details
Copy full SHA for 3ec55b7
View code at this point
Browse repository at this point
Commits on Jan 8, 2025
Updated colored dependency to v3
dtolnay
committed
533caa2
View commit details
Copy full SHA for 533caa2
View code at this point
Browse repository at this point
Commits on Feb 19, 2024
Eliminate glob imports from examples
dtolnay
committed
896a730
View commit details
Copy full SHA for 896a730
View code at this point
Browse repository at this point
Commits on Jul 4, 2023
Sort dependencies and features
dtolnay
committed
a36a1f7
View commit details
Copy full SHA for a36a1f7
View code at this point
Browse repository at this point
Commits on Jun 24, 2023
Merge pull request 1469 from billy1624/point-to-latest-docs
dtolnay
committed
d422546
View commit details
Copy full SHA for d422546
View code at this point
Browse repository at this point
Commits on Jun 23, 2023
Update docs.rs links to latest `syn`
billy1624
committed
f052630
View commit details
Copy full SHA for f052630
View code at this point
Browse repository at this point
Commits on May 4, 2023
Format PR 1446 with rustfmt
dtolnay
committed
1dfc340
View commit details
Copy full SHA for 1dfc340
View code at this point
Browse repository at this point
Commits on Apr 24, 2023
Render zero sized spans in dump-syntax example
dtolnay
committed
8e02dd1
View commit details
Copy full SHA for 8e02dd1
View code at this point
Browse repository at this point
Commits on Feb 27, 2023
Revert "Ignore using destructuring assignment to wildcard pattern"
Show description for 6365093
dtolnay
committed
6365093
View commit details
Copy full SHA for 6365093
View code at this point
Browse repository at this point
Commits on Feb 6, 2023
Combine Expr::AssignOp into Expr::Binary
dtolnay
committed
eb8b6e6
View commit details
Copy full SHA for eb8b6e6
View code at this point
Browse repository at this point
Update dump-syntax documentation with new Debug format
dtolnay
committed
03b1041
View commit details
Copy full SHA for 03b1041
View code at this point
Browse repository at this point
Commits on Jan 16, 2023
Update to Rust 2021 edition
dtolnay
committed
7b7b57c
View commit details
Copy full SHA for 7b7b57c
View code at this point
Browse repository at this point
Commits on Jan 14, 2023
Touch up dependency specs
dtolnay
committed
d414a31
View commit details
Copy full SHA for d414a31
View code at this point
Browse repository at this point
Commits on Dec 15, 2022
Support let-else statement correctly
wkordalski
committed
0d36c9c
View commit details
Copy full SHA for 0d36c9c
View code at this point
Browse repository at this point
Commits on Aug 31, 2022
Ignore using destructuring assignment to wildcard pattern
dtolnay
committed
13cd0a2
View commit details
Copy full SHA for 13cd0a2
View code at this point
Browse repository at this point
Commits on Jun 19, 2022
Format examples with rustfmt 1.5.0
dtolnay
committed
c592781
View commit details
Copy full SHA for c592781
View code at this point
Browse repository at this point
Commits on Jun 6, 2022
Update outdated deps in all the examples
Show description for 1f8dff2
dtolnay
committed
1f8dff2
View commit details
Copy full SHA for 1f8dff2
View code at this point
Browse repository at this point
Distinguish examples that have a conflicting package name
Show description for 2cb380e
dtolnay
committed
2cb380e
View commit details
Copy full SHA for 2cb380e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.