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

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
Bad suggestion in dependency_on_unit_never_type_fallback for fragment coming from a macro input A-edition-2024 Area: The 2024 edition 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-dependency_on_unit_never_type_fallback Lint: dependency_on_unit_never_type_fallback T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133766 opened Dec 2, 2024 by ehuss
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
rust_2024_incompatible_pat bad suggestion with proc-macro when brace comes from input A-edition-2024 Area: The 2024 edition A-proc-macros Area: Procedural macros 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-rust_2024_incompatible_pat Lint: rust_2024_incompatible_pat T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132963 opened Nov 12, 2024 by ehuss
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
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
unsafe_op_in_unsafe_fn causes unnecessary unsafe warnings 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` D-edition Diagnostics: An error or lint that should account for edition differences. D-papercut Diagnostics: An error or lint that needs small tweaks. L-false-positive Lint: False positive (should not have fired). 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.
#132856 opened Nov 10, 2024 by ehuss
2024 No migration for tail expression temporary drop A-diagnostics Area: Messages for errors, warnings, and lints A-edition-2024 Area: The 2024 edition C-bug Category: This is a bug. D-edition Diagnostics: An error or lint that should account for edition differences. 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.
#132814 opened Nov 9, 2024 by ehuss
Unexpected partial move in async move block for Copy field A-edition-2021 Area: The 2021 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#120981 opened Feb 12, 2024 by jwilm
poor diagnostic for missing extern crate in 2015 edition A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-edition Diagnostics: An error or lint that should account for edition differences.
#112809 opened Jun 19, 2023 by Deaths-Door
import #[macro_export] from crate root help uses 2015 use syntax A-diagnostics Area: Messages for errors, warnings, and lints D-edition Diagnostics: An error or lint that should account for edition differences. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#99694 opened Jul 24, 2022 by CAD97
Unhelpful error when Cargo.toml is missing edition key. A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-edition Diagnostics: An error or lint that should account for edition differences. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#92422 opened Dec 29, 2021 by jonhoo
Use of .await in 2015 edition prints one error per use A-diagnostics Area: Messages for errors, warnings, and lints D-edition Diagnostics: An error or lint that should account for edition differences. D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#90849 opened Nov 13, 2021 by estebank
bare_trait_objects help is incorrect with Box<Trait + 'lifetime> in 2015 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#63330 opened Aug 6, 2019 by mmitteregger
Warn about 2015 edition on path & extern crate related errors A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically C-enhancement Category: An issue proposing an enhancement or a PR with one. D-edition Diagnostics: An error or lint that should account for edition differences. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#63323 opened Aug 6, 2019 by kornelski
Improve error message for struct element borrow by closure A-borrow-checker Area: The borrow checker A-diagnostics Area: Messages for errors, warnings, and lints C-enhancement Category: An issue proposing an enhancement or a PR with one. D-edition Diagnostics: An error or lint that should account for edition differences. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#57141 opened Dec 27, 2018 by BartMassey
ProTip! Adding no:label will show everything without a label.