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

Can't compile the use of impl AsyncFn within a spawned thread A-async-closures `async || {}` A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138207 opened Mar 8, 2025 by jephthia
Trait::nonexistant treats Trait as a type, resulting in bad errors A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. D-newcomer-roadblock Diagnostics: Confusing error or lint; hard to understand for new users. T-compiler Relevant to the compiler 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.
#136994 opened Feb 13, 2025 by lcnr
Confusing diagnostic when the error value converted by ? fails to satisfy a 'static bound A-borrow-checker Area: The borrow checker A-diagnostics Area: Messages for errors, warnings, and lints A-trait-system Area: Trait system D-confusing Diagnostics: Confusing error or lint that should be reworked. 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.
#136902 opened Feb 12, 2025 by Zalathar
Better errors for polymorphic recursion A-destructors Area: Destructors (`Drop`, …) A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. I-monomorphization Issue: An error at monomorphization time. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136528 opened Feb 4, 2025 by jake-87
Sendable type cannot be sent between threads safely C-enhancement Category: An issue proposing an enhancement or a PR with one. D-confusing Diagnostics: Confusing error or lint that should be reworked.
#135577 opened Jan 16, 2025 by vklachkov
using ~/.cargo/config.toml to enable cranelift results in a confusing error when bootstrapping rustc C-discussion Category: Discussion or questions that doesn't represent real issues. D-confusing Diagnostics: Confusing error or lint that should be reworked. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
#135300 opened Jan 9, 2025 by lolbinarycat
Bad parse error on token sequences safe unsafe and unsafe safe A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The lexing & 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
Better error reporting for T: ?Sized types when impl Receiver for MyType<T> is implicitly sized A-diagnostics Area: Messages for errors, warnings, and lints C-discussion Category: Discussion or questions that doesn't represent real issues. D-confusing Diagnostics: Confusing error or lint that should be reworked. F-arbitrary_self_types `#![feature(arbitrary_self_types)]`
#134390 opened Dec 16, 2024 by compiler-errors
Unhelpful diagnostic on = to : typo mentioning return type notation A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134087 opened Dec 9, 2024 by oriongonza
Confusing diagnostics with nested precise capturing RPIT A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. F-impl_trait_in_fn_trait_return `#![feature(impl_trait_in_fn_trait_return)]` 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.
#133716 opened Dec 1, 2024 by Nemo157
if and else have incompatible types in a let statement, where else block's evaluation will never be assigned A-control-flow Area: Control flow A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. 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.
#133316 opened Nov 21, 2024 by shanebishop
module-level rustfmt::skip fails with confusing error A-attributes Area: Attributes (`#[…]`, `#![…]`) A-diagnostics Area: Messages for errors, warnings, and lints A-tool-attributes Area: tool attributes like `#[rustfmt::skip]` C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. 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.
#132776 opened Nov 8, 2024 by andrewbanchich
Misleading error messages when using the wrong macro fragment specifiers A-diagnostics Area: Messages for errors, warnings, and lints A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) D-confusing Diagnostics: Confusing error or lint that should be reworked.
#132655 opened Nov 5, 2024 by szostid
LUB coercions works for a function but fails for a closure A-closures Area: Closures (`|…| { … }`) A-coercions Area: implicit and explicit `expr as Type` coercions A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132643 opened Nov 5, 2024 by pazmank
Misleading diagnostic output for typecheck failures that involve type inference A-diagnostics Area: Messages for errors, warnings, and lints A-inference Area: Type inference D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132165 opened Oct 25, 2024 by Stevie-O
Code Fails to Compile with Unnecessary use std::borrow::Borrow; A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132133 opened Oct 25, 2024 by zhristophe
Can't find thiserror_impl crate with -Z sanitizer A-sanitizers Area: Sanitizers for correctness and code quality C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132109 opened Oct 24, 2024 by ColonelThirtyTwo
A out-of-air lifetime that that may not live long vs. the implementation is not general enough 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-NLL Area: Non-lexical lifetimes (NLL) D-confusing Diagnostics: Confusing error or lint that should be reworked. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. NLL-diagnostics Working towards the "diagnostic parity" goal T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131821 opened Oct 17, 2024 by xmh0511
assert_eq! is not 100% hygienic A-diagnostics Area: Messages for errors, warnings, and lints A-hygiene Area: Macro hygiene A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. 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. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#131446 opened Oct 9, 2024 by GrigorenkoPV
Better type inference with impl_trait_in_assoc_type (ITIAT) D-confusing Diagnostics: Confusing error or lint that should be reworked. F-impl_trait_in_assoc_type `#![feature(impl_trait_in_assoc_type)]` requires-nightly This issue requires a nightly compiler in some way.
#130910 opened Sep 27, 2024 by cynecx
Unable to match non_exhaustive enum tuple variants with rest pattern A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. 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.
#130891 opened Sep 26, 2024 by SpriteOvO
Incorrect diagnostic "pattern requires .. due to inaccessible fields" when matching in a macro A-diagnostics Area: Messages for errors, warnings, and lints A-hygiene Area: Macro hygiene A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130588 opened Sep 19, 2024 by goffrie
"Reference to data owned by current function" for a function owning no data. A-borrow-checker Area: The borrow checker A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130584 opened Sep 19, 2024 by iago-lito
Assignment into Deref is allowed and creates irrelevant errors A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. 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.
#130326 opened Sep 13, 2024 by kornelski
Cycle errors lead to confusing errors referencing rustc-dev-guide (i.e., not user-facing docs) A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. 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.
#130032 opened Sep 6, 2024 by jamesmunns
ProTip! Type g i on any issue or pull request to go back to the issue listing page.