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

std::arch::wasm::unreachable() is stable but does not compile A-diagnostics Area: Messages for errors, warnings, and lints A-stability Area: `#[stable]`, `#[unstable]` etc. D-imprecise-spans Diagnostics: spans don't point to exactly the erroneous code D-papercut Diagnostics: An error or lint that needs small tweaks. O-wasm Target: WASM (WebAssembly), http://webassembly.org/
#133015 opened Nov 13, 2024 by eric-seppanen
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
private_interfaces reports the visability of items in pseudocode A-diagnostics Area: Messages for errors, warnings, and lints D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131220 opened Oct 3, 2024 by lolbinarycat
impl-trait-overcaptures cannot be applied, missing parens 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-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130957 opened Sep 27, 2024 by matthiaskrgr
match &[first, ..more] leads down a suggestion garden path A-diagnostics Area: Messages for errors, warnings, and lints A-patterns Relating to patterns and pattern matching 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-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130639 opened Sep 20, 2024 by nabijaczleweli
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
E0050 emitted unexpectedly on missing : 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-papercut Diagnostics: An error or lint that needs small tweaks. 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.
#129273 opened Aug 19, 2024 by lolbinarycat
Hard-to-read ICEs when fluent translation uses non-existing variable A-diagnostics Area: Messages for errors, warnings, and lints A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic D-diagnostic-infra Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself. D-papercut Diagnostics: An error or lint that needs small tweaks. 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.
#128340 opened Jul 29, 2024 by RalfJung
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
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
unnameable_types lint emits incorrect visibility syntax A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. D-papercut Diagnostics: An error or lint that needs small tweaks. L-unnameable_types Lint: unnameable_types T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#126241 opened Jun 10, 2024 by kpreid
"Binding is possibly uninitalized" reports some additional spans incorrectly in addition to the correct one A-control-flow Area: Control flow A-diagnostics Area: Messages for errors, warnings, and lints D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#126133 opened Jun 7, 2024 by Arnavion
When looking for alternative places for method not found, look at parent expresions for it A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` 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. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#126131 opened Jun 7, 2024 by estebank
Failure to recognize &String as equivalent to &str A-diagnostics Area: Messages for errors, warnings, and lints C-enhancement Category: An issue proposing an enhancement or a PR with one. D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#125450 opened May 23, 2024 by amab8901
Instantiating Same Type via Function vs Directly => Compiler Thinks They Are Different Types. 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#124799 opened May 6, 2024 by amab8901
When using Box<self> in first method parameter, the error output provides the wrong type in help message A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The parsing of Rust source code to an AST 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-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#124657 opened May 3, 2024 by sisungo
Support rustc_confusables on items other than methods A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` 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.
#124273 opened Apr 22, 2024 by estebank
Account for shadowed bindings in E0599 method not found errors A-diagnostics Area: Messages for errors, warnings, and lints D-newcomer-roadblock Diagnostics: Confusing error or lint; hard to understand for new users. 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.
#123558 opened Apr 6, 2024 by estebank
let else not suggested for refutable let patterns. A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#122404 opened Mar 12, 2024 by max-ishere
Wrong file reported in "within type" compiler errors A-diagnostics Area: Messages for errors, warnings, and lints D-papercut Diagnostics: An error or lint that needs small tweaks. P-low Low priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121930 opened Mar 3, 2024 by BenWiederhake
"item TryFrom is imported redundantly" doesn't have automatic fix A-diagnostics Area: Messages for errors, warnings, and lints 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-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121315 opened Feb 19, 2024 by fintelia
E0872 and E0746 should suggest "impl Trait" more prominently 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121037 opened Feb 13, 2024 by zackw
Inconsistent format string support for binary and hex representations of arrays A-diagnostics Area: Messages for errors, warnings, and lints A-fmt Area: `std::fmt` C-bug Category: This is a bug. D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#119300 opened Dec 25, 2023 by ChaiTRex
An nbsp isn’t treated as whitespace but instead throws an error A-parser Area: The parsing of Rust source code to an AST D-papercut Diagnostics: An error or lint that needs small tweaks. 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.
#118874 opened Dec 12, 2023 by TheBlckbird
Suggest not using method call syntax when type can't be inferred A-diagnostics Area: Messages for errors, warnings, and lints A-inference Area: Type inference A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` D-papercut Diagnostics: An error or lint that needs small tweaks. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#118804 opened Dec 10, 2023 by dullbananas
ProTip! Mix and match filters to narrow down what you’re looking for.