-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
cast_possible_truncation
could check whether floating point values are manually truncated (round, floor, ceil...) prior to cast
C-bug
#13257
opened Aug 12, 2024 by
ijijn
cast_possible_truncation
could leverage simple patterns
C-bug
#12781
opened May 8, 2024 by
clarfonthey
clippy::cast_possible_truncation
is inconsistent in recognizing where values will never be truncated
C-bug
#12721
by MATSMACKE
was closed Apr 28, 2024
Cargo clippy --fix
introduces compilation errors on rustc 1.79.0-nightly
C-bug
#12565
opened Mar 26, 2024 by
PanieriLorenzo
ICE: Category: Clippy is not doing the correct thing
I-ICE
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
None
in `cast_possible_truncation
C-bug
#12352
by matthiaskrgr
was closed Mar 24, 2024
cast-related lint should warn internal macros
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
#11738
by taiki-e
was closed Apr 4, 2024
ICE Category: Clippy is not doing the correct thing
I-ICE
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
shift too high: TryFromIntError(())
C-bug
#11426
by matthiaskrgr
was closed Sep 18, 2023
cast_possible_truncation gives invalid suggestion to use 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
_::try_from(x)
C-bug
#10366
by ryanavella
was closed Mar 25, 2023
cast_possible_truncation false positive: Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
const
defined in the same crate
C-bug
#9613
opened Oct 8, 2022 by
dtolnay
Have a lint against usize-to-u64 casts (or, against *all* integer casts)
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
#9231
opened Jul 23, 2022 by
RalfJung
Possible cast_possible_truncation false positive
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
#8316
by leonardo-m
was closed Dec 6, 2023
cast_lossless should lint about bool -> integer casts?
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
#7947
by 5225225
was closed Nov 12, 2021
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
Suggest using format precision for floats instead of casting to integer
A-lint
Area: New lints
#7515
opened Jul 30, 2021 by
hellow554
cast_possible_truncation
triggers when the value is guranteed to not be truncated
C-bug
#7486
opened Jul 24, 2021 by
Luro02
Tracking Issue for refactoring Category: Tracking Issue
types.rs
C-tracking-issue
#6724
by Y-Nak
was closed Mar 31, 2021
4 tasks done
[Roadmap] Lint groups
A-category
Area: Categorization of lints
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
C-tracking-issue
Category: Tracking Issue
P-low
Priority: Low
#6626
opened Jan 22, 2021 by
flip1995
3 of 7 tasks
Spurious Area: Clippy interface, usage and configuration
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
map_err_ignore
warning when running cargo clippy
with that warning allowed
A-ui
#6460
opened Dec 16, 2020 by
ghost
<int>.signum()
can be safely cast to any signed integer
C-enhancement
#5395
by jhpratt
was closed Oct 21, 2021
Previous Next
ProTip!
What’s not been updated in a month: updated:<2024-09-30.