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

Incorrect help suggestion when attempting "arc" as Arc<str> A-diagnostics Area: Messages for errors, warnings, and lints D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#135412 opened Jan 12, 2025 by totbuae
Bad parse error on token sequences safe unsafe and unsafe safe A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The parsing of Rust source code to an AST D-confusing Diagnostics: Confusing error or lint that should be reworked. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134580 opened Dec 20, 2024 by ionicmc-rs
Error mentions invalid nested HRTB: &mut for<'a> fn(for<'a> fn(&'a ())) A-diagnostics Area: Messages for errors, warnings, and lints A-higher-ranked Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs) A-pretty Area: Pretty printing (including `-Z unpretty`) D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134410 opened Dec 17, 2024 by theemathas
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
E0499 error shouldn't suggest adding a semicolon when there already is one A-diagnostics Area: Messages for errors, warnings, and lints D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133941 opened Dec 5, 2024 by josephcsible
Poor diagnostic when using = instead of : in let bindings A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The parsing of Rust source code to an AST D-confusing Diagnostics: Confusing error or lint that should be reworked. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133713 opened Dec 1, 2024 by dev-ardi
short diagnostic for E0432 incorrectly describes the problem A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133137 opened Nov 17, 2024 by workingjubilee
cargo-rustdoc: error: too many file operands when experimental feature -w is passed without parameters A-CLI Area: Command-line interface (CLI) to the compiler A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. requires-nightly This issue requires a nightly compiler in some way. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#132718 opened Nov 7, 2024 by NovaliX-Dev
incorrect suggestion for use<...> bound that captures multiple lifetimes A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. F-precise_capturing `#![feature(precise_capturing)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132199 opened Oct 26, 2024 by m4rch3n1ng
"downstream crates may implement trait for type" for both trait and type private to this crate A-coherence Area: Coherence C-enhancement Category: An issue proposing an enhancement or a PR with one. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130839 opened Sep 25, 2024 by tisonkun
Invalid suggestion for ambiguous associated type A-associated-items Area: Associated items (types, constants & functions) A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130166 opened Sep 9, 2024 by junbl
Cargo fix error C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129920 opened Sep 3, 2024 by snowfoxsh
Confusing suggestion to use cargo:rustc-link-lib in a cargo project with a lib and bins A-diagnostics Area: Messages for errors, warnings, and lints A-linkage Area: linking into static, shared libraries and binaries D-confusing Diagnostics: Confusing error or lint that should be reworked. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue.
#129904 opened Sep 2, 2024 by kusnezoff-alexander
single_use_lifetimes: false positive (suggests unstable anonymous lifetimes in impl Trait) A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. F-lint-single_use_lifetimes `single_use_lifetimes` lint
#129255 opened Aug 18, 2024 by ivan-aksamentov
Inappropriate unused_parens for inline const inside vec!/macros 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, ..) C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. F-inline_const Inline constants (aka: const blocks, const expressions, anonymous constants) L-unused_parens Lint: unused_parens 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.
#126457 opened Jun 14, 2024 by Zalathar
APITIT get treated as ordinary params in "not all trait impls implemented" error A-diagnostics Area: Messages for errors, warnings, and lints D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. D-papercut Diagnostics: An error or lint that needs small tweaks.
#126395 opened Jun 13, 2024 by lcnr
Issue with static functions when using feature effects A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. F-const_trait_impl `#![feature(const_trait_impl)]` F-effects `#![feature(effects)]` requires-incomplete-features This issue requires the use of incomplete features. 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.
#125471 opened May 24, 2024 by IrrelevantGaymer
Associated function from super traits not accessible via sub traits A-associated-items Area: Associated items (types, constants & functions) A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#124438 opened Apr 27, 2024 by WaffleLapkin
Borrow incorrectly "escapes" function when calling method of blanket impl for 'static type A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. 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.
#123921 opened Apr 14, 2024 by eggyal
rustc suggests for<'a> when lifetime param already exists A-diagnostics Area: Messages for errors, warnings, and lints A-lifetimes Area: Lifetimes / regions A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#123713 opened Apr 10, 2024 by Rudxain
Incorrect argument index highlighting an error for type mismatch on static trait function calls A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. 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.
#122938 opened Mar 23, 2024 by arduano
Incorrect suggestion to add turbofish when > is missing A-diagnostics Area: Messages for errors, warnings, and lints D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. 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.
#121901 opened Mar 2, 2024 by RalfJung
E0716 proposes let binding to invalid places in the code A-diagnostics Area: Messages for errors, warnings, and lints D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#119686 opened Jan 7, 2024 by trrk
Incorrect dead_code lint with items only used in const. A-diagnostics Area: Messages for errors, warnings, and lints 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 T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#118424 opened Nov 28, 2023 by zachs18
Incorrect syntax when suggesting the use of Fn* traits as supertraits A-diagnostics Area: Messages for errors, warnings, and lints D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#118225 opened Nov 24, 2023 by xmh0511
ProTip! Follow long discussions with comments:>50.