Skip to content

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
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

#![feature(..)] outside of crate root only warns and should be louder A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. D-newcomer-roadblock Diagnostics: Confusing error or lint; hard to understand for new users. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. L-unused_attributes Lint: unused_attributes requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134856 opened Dec 28, 2024 by estebank
Warn on Fullwidth Exclamation Mark (U+FF01) in comment A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-Unicode Area: Unicode T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#134810 opened Dec 27, 2024 by dtolnay
Missing unreachable code/arm warning, when a match guard is diverging A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. L-unreachable_code Lint: unreachable_code T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134734 opened Dec 24, 2024 by WaffleLapkin
unreachable_patterns emitted on _ that matches a local of uninhabited type (that is uninitialized) A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. L-unreachable_patterns Lint: unreachable_patterns T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134733 opened Dec 24, 2024 by WaffleLapkin
derive(PartialEq) should not prevent "field is never read" warnings A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134588 opened Dec 20, 2024 by Wilfred
unpredictable_function_pointer_comparisons doesn't lint against Option<fn()> A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug.
#134527 opened Dec 19, 2024 by kornelski
Unsized types in required trait methods A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-trait-objects Area: trait objects, vtable layout C-feature-request Category: A feature request, i.e: not implemented / a PR. needs-rfc This change is large or controversial enough that it should have an RFC accepted before doing it. T-lang Relevant to the language team, which will review and decide on the PR/issue. T-types Relevant to the types team, which will review and decide on the PR/issue.
#134475 opened Dec 18, 2024 by ionicmc-rs
closure upvars disable unused_assignments lint A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. L-false-negative Lint: False negative (should have fired but didn't). L-unused_variables Lint: unused_variables T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134413 opened Dec 17, 2024 by lcnr
Warn when more specific lint overridden by a lint group A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-discussion Category: Discussion or questions that doesn't represent real issues. 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.
#134382 opened Dec 16, 2024 by dev-ardi
unused_allocation lint produces incorrect suggestion for Box comparison A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. L-unused_allocation Lint: unused_allocation T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134186 opened Dec 12, 2024 by arvidfm
Always show the lint name involved in a diagnostic? A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-discussion Category: Discussion or questions that doesn't represent real issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-diagnostics Working group: Diagnostics
#134634 opened Dec 11, 2024 by Kannen
Lint against manual impl Default that could have been derived A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. I-lang-nominated Nominated for discussion during a lang team meeting. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#134175 opened Dec 11, 2024 by estebank Draft
Unsafe Loop when using mem::transmute & Unpreventable Due to a Macro A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. S-needs-info Status: The issue lacks details necessary to triage or act on it. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134018 opened Dec 8, 2024 by WillKirkmanM
Tracking issue for release notes of #131558: Lint on combining #[no_mangle] and #[export_name] A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. L-unused_attributes Lint: unused_attributes relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. 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.
#134011 opened Dec 7, 2024 by rustbot
1 of 3 tasks
1.85.0
edition 2024 migration of Command::before_exec is suboptimal and doesn't compile A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134003 opened Dec 7, 2024 by eric-seppanen
Bad + use<> suggestion in nested macro_rules A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example L-impl_trait_overcaptures Lint: impl_trait_overcaptures T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133769 opened Dec 2, 2024 by ehuss
cargo fix produces incorrect code when removing last unused dependency next to self as __ syntax A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. L-dead_code Lint: dead_code T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133750 opened Dec 2, 2024 by bragov4ik
keyword-idents is incompatible with macros A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. L-keyword_idents Lint group: keyword_idents L-keyword_idents_2024 Lint: keyword_idents_2024 T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133709 opened Dec 1, 2024 by ehuss
Tracking issue for release notes of #133374: show abi_unsupported_vector_types lint in future breakage reports A-ABI Area: Concerning the application binary interface (ABI) A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-SIMD Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. L-abi_unsupported_vector_types Lint: abi_unsupported_vector_types relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. 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.
#133376 opened Nov 23, 2024 by rustbot
1 of 3 tasks
1.85.0
non-camel-case-types lint does not flag repr(C) types A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-repr Area: the `#[repr(stuff)]` attribute C-discussion Category: Discussion or questions that doesn't represent real issues. L-non_camel_case_types Lint: non_camel_case_types 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.
#132925 opened Nov 12, 2024 by jstarks
Bad span in suggestion for unsafe_attr_outside_unsafe in macro expansion with cfg_attr A-diagnostics Area: Messages for errors, warnings, and lints A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. L-unsafe_attr_outside_unsafe Lint: unsafe_attr_outside_unsafe T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132908 opened Nov 11, 2024 by ehuss
2
3
Bad suggestion for macro_rules macros generated from a proc-macro A-diagnostics Area: Messages for errors, warnings, and lints A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. L-unsafe_op_in_unsafe_fn Lint: unsafe_op_in_unsafe_fn T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132906 opened Nov 11, 2024 by ehuss
False positive dead_code lint when type is only used via destructuring A-diagnostics Area: Messages for errors, warnings, and lints A-lints 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.
#132874 opened Nov 10, 2024 by daniel5151
rust_2024_prelude_collisions fails with glob of underscore import A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect 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.
#132864 opened Nov 10, 2024 by ehuss
Possible false-negative with tail-expr-drop-order A-diagnostics Area: Messages for errors, warnings, and lints A-edition-2024 Area: The 2024 edition A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. F-shorter_tail_lifetimes `#![feature(shorter_tail_lifetimes)]` L-false-negative Lint: False negative (should have fired but didn't). L-tail_expr_drop_order Lint: tail_expr_drop_order 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.
#132861 opened Nov 10, 2024 by ehuss
ProTip! Adding no:label will show everything without a label.