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 }}
rust-lang
/
reference
Public
Notifications
You must be signed in to change notification settings
Fork
610
Star
1.6k
Code
Issues
314
Pull requests
128
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Update
must_use
to use the attribute template
- #1892
#1892
Merged
traviscross
merged 9 commits into
rust-lang:master
rust-lang/reference:master
from
ehuss:must_use
ehuss/reference:must_use
Copy head branch name to clipboard
Mar 18, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
Update
must_use
to use the attribute template
#1892
traviscross
merged 9 commits into
rust-lang:master
rust-lang/reference:master
from
ehuss:must_use
ehuss/reference:must_use
Copy head branch name to clipboard
Commits
Commits on Mar 17, 2026
Unwrap must_use
ehuss
authored and
traviscross
committed
dc0068c
View commit details
Copy full SHA for dc0068c
Browse repository at this point
Move examples into example blocks
ehuss
authored and
traviscross
committed
a52d649
View commit details
Copy full SHA for a52d649
Browse repository at this point
Update diagnostic to use the attribute template
ehuss
authored and
traviscross
committed
c9becb4
View commit details
Copy full SHA for c9becb4
Browse repository at this point
Minor update of must_use
Show description for 106a4a1
ehuss
authored and
traviscross
committed
106a4a1
View commit details
Copy full SHA for 106a4a1
Browse repository at this point
Commits on Mar 18, 2026
Revise `must_use` attribute text
Show description for 93fe20d
traviscross
committed
93fe20d
View commit details
Copy full SHA for 93fe20d
Browse repository at this point
Fix `must_use` lint behavior for block expressions
Show description for 0775ef3
traviscross
committed
0775ef3
View commit details
Copy full SHA for 0775ef3
Browse repository at this point
Add `must_use` exception for infallible results
Show description for f9b0c77
traviscross
committed
f9b0c77
View commit details
Copy full SHA for f9b0c77
Browse repository at this point
Mention `_` destructuring assignment idiom
Show description for 887affd
traviscross
committed
887affd
View commit details
Copy full SHA for 887affd
Browse repository at this point
Add rule identifiers for unassociated `must_use` notes
Show description for a30f26e
traviscross
committed
a30f26e
View commit details
Copy full SHA for a30f26e
Browse repository at this point
You can’t perform that action at this time.