Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
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
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
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
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
state:open label:L-unused_assignments
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
/
rust
Public
Watch
Couldn't load subscription status.
Retry
Uh oh!
There was an error while loading.
Please reload this page
.
Fork
13.9k
Star
107k
Code
Issues
5k+
Pull requests
892
Actions
Projects
9
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Draft release notes for 1.91
#147010 ·
Mark-Simulacrum
opened
on Sep 25, 2025
20
Issues
Search Issues
state
:
open
label
:
L-unused_assignments
state:open label:L-unused_assignments
Search
Labels
Milestones
New issue
Search results
Open
Closed
nightly <code>unused_assignments</code> false positives for <code>miette::Diagnostic</code> fields
C-bug
Category: This is a bug.
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
Issue: Indicates that prioritization has been requested for this issue.
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
This issue may need triage. Remove it if it has been sufficiently triaged.
regression-untriaged
Untriaged performance or correctness regression.
Untriaged performance or correctness regression.
Status: Open.
#147648
In rust-lang/rust;
·
adr1anh
opened
on Oct 13, 2025
<code>unused_assignment</code> triggered by closure even though value is used
A-closures
Area: Closures (`|…| { … }`)
Area: Closures (`|…| { … }`)
A-diagnostics
Area: Messages for errors, warnings, and lints
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
D-imprecise-spans
Diagnostics: spans don't point to exactly the erroneous code
Diagnostics: spans don't point to exactly the erroneous code
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#141615
In rust-lang/rust;
·
BennoLossin
opened
on May 26, 2025
unused_assignments lint has trouble tracking that one match guard observes assignment from another match guard.
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-patterns
Relating to patterns and pattern matching
Relating to patterns and pattern matching
C-bug
Category: This is a bug.
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
L-false-positive
Lint: False positive (should not have fired).
Lint: False positive (should not have fired).
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#138069
In rust-lang/rust;
·
pnkfelix
opened
on Mar 5, 2025
unused_assignments warning: false negative for dead stores in struct fields
A-diagnostics
Area: Messages for errors, warnings, and lints
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Category: An issue proposing an enhancement or a PR with one.
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#49256
In rust-lang/rust;
·
matthiaskrgr
opened
on Mar 22, 2018
Unused assignment warning should trigger for structs
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Category: An issue proposing an enhancement or a PR with one.
L-unused_assignments
Lint: unused_assignments
Lint: unused_assignments
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#16789
In rust-lang/rust;
·
crumblingstatue
opened
on Aug 27, 2014
You can’t perform that action at this time.