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
is:issue await_holding_lock
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-clippy
Public
Notifications
You must be signed in to change notification settings
Fork
1.8k
Star
12.6k
Code
Issues
2.3k
Pull requests
194
Discussions
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
Discussions
Actions
Projects
Wiki
Security
Insights
Most commonly ignored lints on crates.io
#7666 ·
dtolnay
opened
on Sep 13, 2021
23
Issues
Search Issues
is
:
issue
await_holding_lock
is:issue await_holding_lock
Search
Labels
Milestones
New issue
Search results
Open
Closed
rust panick on running cargo clippy on risingwave
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-ICE
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Status: Closed (completed).
#14709
In rust-lang/rust-clippy;
·
by
lyang24
was closed
on Jun 29, 2025
await_holding_borrow - like await_holding_lock, but for RefCell
A-lint
Area: New lints
Area: New lints
Status: Open.
#13328
In rust-lang/rust-clippy;
·
lylythechosenone
opened
on Aug 31, 2024
False positive using async-condvar-fair / MutexGuard moved into future that is then awaited
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
Status: Open.
#13075
In rust-lang/rust-clippy;
·
bjackman
opened
on Jul 8, 2024
Unexpected false positive <code>await_holding_lock</code> with <code>future-parking_lot</code> crate.
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
Status: Open.
#10280
In rust-lang/rust-clippy;
·
hellertime
opened
on Feb 2, 2023
False-positive <code>await_holding_lock</code> with manual <code>drop</code> of <code>MutexGuard</code>
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
Status: Open.
#9683
In rust-lang/rust-clippy;
·
Swatinem
opened
on Oct 21, 2022
Lint incorrectly fires when an anoymous mutex guard is used in a block inside an if..let statement
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
Status: Not planned (skipped).
#9209
In rust-lang/rust-clippy;
·
by
peterjoel
was closed
on Jul 20, 2022
<code>await_holding_lock</code> lint is erroneously triggered when the guard is explicitly dropped before the await.
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
Status: Open.
#9208
In rust-lang/rust-clippy;
·
peterjoel
opened
on Jul 19, 2022
Fix lint attributes/emission location for <code>await_holding_*</code> lints
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Category: Enhancement of lints, like adding more cases or adding help messages
T-async-await
Type: Issues related to async/await
Type: Issues related to async/await
Status: Open.
#9047
In rust-lang/rust-clippy;
·
xFrednet
opened
on Jun 25, 2022
False positive for <code>await_holding_lock</code> on Rust 1.61 beta
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
Status: Open.
#8777
In rust-lang/rust-clippy;
·
umanwizard
opened
on May 2, 2022
Most commonly ignored lints on crates.io
A-category
Area: Categorization of lints
Area: Categorization of lints
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
S-needs-discussion
Status: Needs further discussion before merging or work can be started
Status: Needs further discussion before merging or work can be started
Status: Closed (completed).
#7666
In rust-lang/rust-clippy;
·
by
dtolnay
was closed
on Oct 9, 2022
await_holding_refcell_ref false negative when inside async block
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
Call for participation: This a hard problem and requires more experience or effort to work on
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Issue: The lint should have been triggered on code, but wasn't
Status: Open.
#6904
In rust-lang/rust-clippy;
·
omni-corp
opened
on Mar 14, 2021
[Roadmap] Lint groups
A-category
Area: Categorization of lints
Area: Categorization of lints
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Category: Enhancement of lints, like adding more cases or adding help messages
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
P-low
Priority: Low
Priority: Low
Status: Open.
#6626
In rust-lang/rust-clippy;
·
flip1995
opened
on Jan 22, 2021
You can’t perform that action at this time.