-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Issues: rust-lang/rust
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
pub
items in binary crates should not be excluded from dead_code
lint
A-lint
#127497
opened Jul 8, 2024 by
alice-i-cecile
Associated constants used in equality should be considered as used
A-diagnostics
Area: Messages for errors, warnings, and lints
F-associated_const_equality
`#![feature(associated_const_equality)]`
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#126729
opened Jun 20, 2024 by
mu001999
Dead code pass no longer considers enum used in Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-dead_code
Lint: dead_code
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
pub extern "C" fn
as used
A-lint
#126706
opened Jun 19, 2024 by
chinedufn
dead_code lint wrongly warns about public repr(C) structs with private fields but no constructors
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#126169
opened Jun 8, 2024 by
asomers
weird behavior from Area: Clippy
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-dead_code
Lint: dead_code
L-unused_imports
Lint: unused_imports
-Fdead_code
vs -Funused
A-clippy
#126029
opened Jun 5, 2024 by
andrewbanchich
cannot forbid Area: Clippy
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-dead_code
Lint: dead_code
dead_code
since lint triggers for third party macros
A-clippy
#126028
opened Jun 5, 2024 by
andrewbanchich
&T -> *const T
or &mut T -> *mut T
should be considered a use of inner fields
A-lint
#125435
opened May 23, 2024 by
workingjubilee
Unexpected dead_code warning when returning Result type from main
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-dead_code
Lint: dead_code
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#123418
opened Apr 3, 2024 by
zschreur
Allow 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.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
dead_code
lint to be configured to validate that all pub code is used within the workspace
A-lint
#120079
opened Jan 18, 2024 by
alice-i-cecile
Unused Area: Messages for errors, warnings, and lints
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
extern fn
in dead code warns
A-diagnostics
#116944
opened Oct 19, 2023 by
robertbastian
dead_code
: Inherent associated types are unconditionally considered dead
A-lint
#110332
opened Apr 14, 2023 by
fmease
Rust compiler shows unused function warning when using modules with the path expression
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-resolve
Area: Path resolution
C-bug
Category: This is a bug.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
L-dead_code
Lint: dead_code
P-low
Low priority
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#108695
opened Mar 3, 2023 by
DEMON1A
Incorrect dead_code warning on a function that is being called
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#103686
opened Oct 28, 2022 by
RalfJung
1.64 - Unexpected Area: Lints (warnings about flaws in source code) such as unused_mut.
C-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
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
L-dead_code
Lint: dead_code
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
dead_code
warning from inside macro expansion.
A-lint
#102217
opened Sep 24, 2022 by
Themayu
False positive dead code warning
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-proc-macros
Area: Procedural macros
C-bug
Category: This is a bug.
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#102190
opened Sep 23, 2022 by
alexkazik
dead_code warning on an used module.
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#101164
opened Aug 29, 2022 by
Aex12
Compiler warning about dead code when enum is used in a match against return value of FFI call
A-ffi
Area: Foreign Function Interface (FFI)
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-dead_code
Lint: dead_code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#85677
opened May 25, 2021 by
felipeamp
ProTip!
Type g i on any issue or pull request to go back to the issue listing page.