-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Issues: rust-lang/rust-clippy
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
unused_unit
triggers when the type annotation is needed to compile
C-bug
#14577
by kristoff3r
was closed Apr 27, 2025
Wired false negative of Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
clippy::extra_unused_type_parameters
C-bug
#12820
by mu001999
was closed May 19, 2024
unused_unit will remove items led by attributes
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
#9949
by matthiaskrgr
was closed Feb 24, 2024
unused_unit causes syntax error in weird loop code
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
#9946
opened Nov 25, 2022 by
matthiaskrgr
FP: unused_unit: closure lifetime binder
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
#9883
by matthiaskrgr
was closed Mar 6, 2024
unused_unit
false positive in combination with #![feature(closure_lifetime_binder)]
C-bug
#9748
by Jules-Bertholet
was closed Nov 15, 2022
unneeded unit expression
on wasm_bindgen macro
C-bug
#8314
by keiya01
was closed Jan 28, 2022
Most commonly ignored lints on crates.io
A-category
Area: Categorization of lints
C-tracking-issue
Category: Tracking Issue
S-needs-discussion
Status: Needs further discussion before merging or work can be started
#7666
by dtolnay
was closed Oct 9, 2022
unused_unit false positive on macro input
C-bug
Category: Clippy is not doing the correct thing
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
I-false-positive
Issue: The lint was triggered on code it shouldn't have
#7055
by trinity-1686a
was closed May 5, 2021
unnecessary_wraps suggests to unwrap unit instead of omitting return value
C-bug
Category: Clippy is not doing the correct thing
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good first issue
These issues are a good way to get started with Clippy
L-suggestion
Lint: Improving, adding or fixing lint suggestions
#6640
by msakuta
was closed Feb 18, 2021
unused_unit
adds a space after function declarations
C-bug
#6230
by jyn514
was closed Nov 4, 2020
FN unused_unit: function headers in where clauses
C-bug
Category: Clippy is not doing the correct thing
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
#5585
by matthiaskrgr
was closed May 15, 2020
unused_unit false positive for macro inputs
C-bug
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
L-suggestion
Lint: Improving, adding or fixing lint suggestions
T-macros
Type: Issues with macros and macro expansion
#4076
by goffrie
was closed Aug 26, 2019
catch-22 with try block, clippy::unit_arg and clippy::unused_unit
C-bug
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
L-suggestion
Lint: Improving, adding or fixing lint suggestions
#3759
by DenialAdams
was closed Jul 13, 2021
ProTip!
Exclude everything labeled
bug
with -label:bug.