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

cannot assign to data in an index of HashMap<_, _> diagnostic suggests solution that does not type check A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134917 opened Dec 30, 2024 by epilys
explicit-outlives-requirements suggestion breaks code A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. 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.
#134902 opened Dec 29, 2024 by matthiaskrgr
Const generic equivalence check overrides diagnostic::on_unimplemented A-diagnostics Area: Messages for errors, warnings, and lints F-generic_const_exprs `#![feature(generic_const_exprs)]` 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.
#134881 opened Dec 29, 2024 by juntyr
#![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
Confusing error when using CoercePointee A-diagnostics Area: Messages for errors, warnings, and lints F-derive_coerce_pointee Feature: RFC 3621's oft-renamed implementation T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134846 opened Dec 28, 2024 by RalfJung
strange borrowing suggestion A-borrow-checker Area: The borrow checker A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134805 opened Dec 26, 2024 by est31
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
ICE has escaping bound vars, so it cannot be wrapped in a dummy binder. A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134764 opened Dec 25, 2024 by matthiaskrgr
on_unimplemented label and notes are not displayed for transitive bounds A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134700 opened Dec 23, 2024 by cramertj
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
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
Incorrect suggestion to derive Clone on Vec directly A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` 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.
#134471 opened Dec 18, 2024 by cyrgani
Unhelpful suggestions on reference mutability A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134467 opened Dec 18, 2024 by Walther
unhelpful E0277 when writing func(&a: &T) instead of func(a: &T) A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134461 opened Dec 18, 2024 by matthiaskrgr
#[linkage = "weak"] const fn accepted without warning A-diagnostics Area: Messages for errors, warnings, and lints A-linkage Area: linking into static, shared libraries and binaries C-discussion Category: Discussion or questions that doesn't represent real issues. F-linkage #![feature(linkage)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134451 opened Dec 18, 2024 by HaoboGu
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
E0308 Suggestion gets added to unrelated code and error span is too big A-diagnostics Area: Messages for errors, warnings, and lints A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) D-imprecise-spans Diagnostics: spans don't point to exactly the erroneous code T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134445 opened Dec 17, 2024 by LasterAlex
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
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
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
E0277: Unhelpful error message is given when indirect constraints cause blanket implementations to not get implemented A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134346 opened Dec 15, 2024 by soareschen
Confusing suggestion from self import A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134327 opened Dec 15, 2024 by eatmynerds
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
Lint for returning a pointer to stack memory associated with a local variable A-diagnostics Area: Messages for errors, warnings, and lints T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134215 opened Dec 12, 2024 by 1c3t3a
Invalid suggestion on anonymous lifetime parameter in precise capturing list if there are no input lifetimes A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. F-precise_capturing `#![feature(precise_capturing)]` P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134194 opened Dec 12, 2024 by fmease
ProTip! Type g i on any issue or pull request to go back to the issue listing page.