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
Terse parse error on ident @ pat in destructuring assignment A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The parsing of Rust source code to an AST A-patterns Relating to patterns and pattern matching 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.
#134778 opened Dec 26, 2024 by workingjubilee
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
cfg resolve diagnostic doesn't show up for axum macro A-cfg Area: `cfg` conditional compilation A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically 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.
#134448 opened Dec 18, 2024 by joshka
Detect different borrowing in different sub-expressions the same expression and suggest borrowing when applicable A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134219 opened Dec 12, 2024 by estebank
Expected/Found does not point to point where type parameter was inferred A-diagnostics Area: Messages for errors, warnings, and lints 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.
#134091 opened Dec 9, 2024 by BoxyUwU
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
Terse parse error on &raw expr A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The parsing of Rust source code to an AST A-raw-pointers Area: raw pointers, MaybeUninit, NonNull D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. F-raw_ref_op `#![feature(raw_ref_op)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#133231 opened Nov 20, 2024 by sadmac7000
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
Terse diagnostic for never type fallback lint warning involving try operator and placeholder in path A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. 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.
#132358 opened Oct 30, 2024 by hniksic
Diagnostic doesn't mention cfg'ed out items if the unresolved path is simple (i.e., a single identifier) A-cfg Area: `cfg` conditional compilation A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically 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.
#132166 opened Oct 26, 2024 by fmease
unused_imports on pub use macros::* should explain that [macro_export] macros don't need to be exported. A-diagnostics Area: Messages for errors, warnings, and lints 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, ..) D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. L-unused_imports Lint: unused_imports T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132102 opened Oct 24, 2024 by Kriskras99
unsafe { &mut *x } vs &mut unsafe { *x } A-diagnostics Area: Messages for errors, warnings, and lints A-raw-pointers Area: raw pointers, MaybeUninit, NonNull C-discussion Category: Discussion or questions that doesn't represent real issues. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
#132063 opened Oct 23, 2024 by hkBst
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
GAT type Assoc<T: ?Sized> implicitly requires Self to be 'static A-borrow-checker Area: The borrow checker A-diagnostics Area: Messages for errors, warnings, and lints A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout 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.
#131008 opened Sep 29, 2024 by Veetaha
Unhelpful error message "ambiguous lifetime bound, explicit lifetime bound required" A-diagnostics Area: Messages for errors, warnings, and lints A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout 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.
#130952 opened Sep 27, 2024 by oberien
Make E0277 on Sized its own error code with more focused explanation A-diagnostics Area: Messages for errors, warnings, and lints A-error-codes Area: Explanation of an error code (--explain) 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.
#130359 opened Sep 14, 2024 by kpreid
using super in doctests errors A-diagnostics Area: Messages for errors, warnings, and lints A-doctests Area: Documentation tests, run by rustdoc A-resolve Area: Name/path resolution done by `rustc_resolve` specifically D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#130274 opened Sep 12, 2024 by y86-dev
Point at unit structs in type errors when they are the pattern of a let binding A-diagnostics Area: Messages for errors, warnings, and lints D-confusing Diagnostics: Confusing error or lint that should be reworked. D-papercut Diagnostics: An error or lint that needs small tweaks. 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.
#129792 opened Aug 30, 2024 by estebank
Build to AArch64 errors with "error: fixup value out of range" A-linkage Area: linking into static, shared libraries and binaries A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ O-AArch64 Armv8-A or later processors in AArch64 mode T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129299 opened Aug 20, 2024 by midnightveil
const { ... } blocks cannot be written outside of function A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. D-papercut Diagnostics: An error or lint that needs small tweaks. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
#128338 opened Jul 29, 2024 by StackOverflowExcept1on
show reason why bound is nessesary A-diagnostics Area: Messages for errors, warnings, and lints 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.
#127458 opened Jul 7, 2024 by lenscas
Detect when ? is being called on a type *after* .unwrap or .expect was called on a Result or Option A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` 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. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#127345 opened Jul 4, 2024 by estebank
Terse diagnostic on lack of ~const bound in inherent associated const functions A-diagnostics Area: Messages for errors, warnings, and lints D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. F-const_trait_impl `#![feature(const_trait_impl)]` PG-const-traits Project group: Const traits T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#126975 opened Jun 26, 2024 by alestane
ProTip! Mix and match filters to narrow down what you’re looking for.