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 expect_fun_call
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.5k
Code
Issues
2.3k
Pull requests
179
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
expect_fun_call
is:issue expect_fun_call
Search
Labels
Milestones
New issue
Search results
Open
Closed
<code>expect_fun_call</code> gives untypable suggestion
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Status: Open.
#15195
In rust-lang/rust-clippy;
·
samueltardieu
opened
on Jul 1, 2025
binary operation <code>!=</code> cannot be applied to type <code>tokio::sync::MutexGuard<'_, std::option::Option<std::net::IpAddr>></code>
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Status: Closed (completed).
#15180
In rust-lang/rust-clippy;
·
by
RazeLighter777
was closed
on Jul 9, 2025
Garbage clippy::expect_fun_call lint for result.expect(if b { "" } else { "" })
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Closed (completed).
#15056
In rust-lang/rust-clippy;
·
by
nabijaczleweli
was closed
on Jul 14, 2025
Lint against patterns like <code><Result<_,_> as anyhow::Context>::context(r, &format!("...", ...))</code> in favor of <code>.with_context(|| ...)</code>
A-lint
Area: New lints
Area: New lints
Status: Open.
#13678
In rust-lang/rust-clippy;
·
anp
opened
on Nov 12, 2024
Problem with cargo clippy --fix
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
Status: Open.
#10718
In rust-lang/rust-clippy;
·
holtgrewe
opened
on Mar 7, 2023
Migrate format_args!() lints to to ast::FormatArgs
Status: Closed (completed).
#10233
In rust-lang/rust-clippy;
·
by
m-ou-se
was closed
on Mar 28, 2023
expect_fun_call: should not suggest using format arg capture if edition != 2021
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
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Lint: Improving, adding or fixing lint suggestions
Status: Open.
#9019
In rust-lang/rust-clippy;
·
matthiaskrgr
opened
on Jun 19, 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
expect_fun_call and unnecessary_lazy_eval
Status: Closed (completed).
#5942
In rust-lang/rust-clippy;
·
by
bugadani
was closed
on Aug 22, 2020
<code>expect_fun_call</code> does not trigger to references
Status: Closed (completed).
#4912
In rust-lang/rust-clippy;
·
by
TethysSvensson
was closed
on Dec 19, 2019
Adding feature to "accept" a clippy suggestion
Status: Closed (completed).
#4300
In rust-lang/rust-clippy;
·
by
Will-Low
was closed
on Jul 25, 2019
incorrect hint for expect_fun_call
E-needs-test
Call for participation: writing tests
Call for participation: writing tests
Status: Closed (completed).
#3839
In rust-lang/rust-clippy;
·
by
abbychau
was closed
on Mar 6, 2019
You can’t perform that action at this time.