Skip to content

Issues: rust-lang/rust

Draft release notes for 1.88.0
#141598 opened May 26, 2025 by Mark-Simulacrum
Open 9
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
Assigned to nobody Loading
Sort

Issues list

Can't match strings in consts, but can match byte strings in consts A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) A-patterns Relating to patterns and pattern matching A-str Area: str and String C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#141231 opened May 18, 2025 by clarfonthey
Destructuring tuple structs with public leading fields and private trailing fields by tuple syntax is disallowed A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged.
#139972 opened Apr 17, 2025 by SOF3
[Optimization] Significantly different assembly output for logically equivalent match patterns with string comparisons A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-patterns Relating to patterns and pattern matching C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139784 opened Apr 14, 2025 by ZhonghaoPan-nju
Optimize const pattern guards for StructuralEq types A-patterns Relating to patterns and pattern matching C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138664 opened Mar 18, 2025 by TimNN
unused_assignments lint has trouble tracking that one match guard observes assignment from another match guard. A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. L-false-positive Lint: False positive (should not have fired). L-unused_assignments Lint: unused_assignments T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138069 opened Mar 5, 2025 by pnkfelix
Too conservative lifetime check in match arm with if condition. A-borrow-checker Area: The borrow checker A-lifetimes Area: Lifetimes / regions A-patterns Relating to patterns and pattern matching C-enhancement Category: An issue proposing an enhancement or a PR with one. T-types Relevant to the types team, which will review and decide on the PR/issue.
#137878 opened Mar 2, 2025 by sswybd
internal compiler error: two identical projections A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. 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.
#137467 opened Feb 23, 2025 by HomelikeBrick42
Tracking Issue for generic pattern types A-patterns Relating to patterns and pattern matching B-experimental Blocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize). C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-lang Relevant to the language 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.
#136574 opened Feb 5, 2025 by oli-obk
4 tasks
Terse parse error on ident @ pat in destructuring assignment A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The lexing & 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
Compilation error when matching reference to empty enum A-exhaustiveness-checking Relating to exhaustiveness / usefulness checking of patterns A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. F-exhaustive_patterns `#![feature(exhaustive_patterns)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-opsem Relevant to the opsem team T-types Relevant to the types team, which will review and decide on the PR/issue.
#131452 opened Oct 9, 2024 by dhedey
High memory usage with cargo build in match statement A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. I-compilemem Issue: Problems and improvements with respect to memory usage during compilation. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131410 opened Oct 8, 2024 by Joshix-1
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
Reconsider Rule 4E (early) for RFC 3627 A-patterns Relating to patterns and pattern matching C-discussion Category: Discussion or questions that doesn't represent real issues. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#130501 opened Sep 18, 2024 by Nadrieril
unreachable_pattern could get more specific if the preempting pattern resembles a const A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. L-unreachable_patterns Lint: unreachable_patterns T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129631 opened Aug 26, 2024 by vDorst
Inefficient Match Statement Optimization for Unit-Only Enums with Fixed Offsets A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-patterns Relating to patterns and pattern matching C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. llvm-fixed-upstream Issue expected to be fixed by the next major LLVM upgrade, or backported fixes T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129131 opened Aug 15, 2024 by Shadowcat650
mut in slice pattern: [_, mut @ ..] = &[...] is not needed? A-diagnostics Area: Messages for errors, warnings, and lints A-patterns Relating to patterns and pattern matching A-slice-patterns Area: Slice patterns, https://github.com/rust-lang/rust/issues/23121 T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#126676 opened Jun 19, 2024 by ptrca
ICE: dead: non-ADT in struct pattern A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. 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.
#125323 opened May 20, 2024 by matthiaskrgr
Pattern matching reborrowing A-patterns Relating to patterns and pattern matching C-discussion Category: Discussion or questions that doesn't represent real issues. 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. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#123543 opened Apr 6, 2024 by Ddystopia
Tracking Issue for match ergonomics 2024 (RFC 3627) A-patterns Relating to patterns and pattern matching B-RFC-approved Blocker: Approved by a merged RFC but not yet implemented. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-lang Relevant to the language team, which will review and decide on the PR/issue.
#123076 opened Mar 26, 2024 by Jules-Bertholet
8 of 14 tasks
Further improve diagnostics for expressions in pattern position A-diagnostics Area: Messages for errors, warnings, and lints A-parser Area: The lexing & parsing of Rust source code to an AST A-patterns Relating to patterns and pattern matching 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#121697 opened Feb 27, 2024 by fmease
8 of 11 tasks
Check for "constants we match on must be PartialEq" misses lifetime-dependent impls A-lifetimes Area: Lifetimes / regions A-patterns Relating to patterns and pattern matching A-trait-system Area: Trait system C-bug Category: This is a bug. 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.
#121007 opened Feb 13, 2024 by RalfJung
(..=0 | 2) in macro does not compile without parentheses but generates warning for unnecessary parentheses 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, ..) A-patterns Relating to patterns and pattern matching A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix` C-bug Category: This is a bug. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. L-unused_parens Lint: unused_parens T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#120737 opened Feb 7, 2024 by astra90x
#[non_exhaustive] stucts can be matched exhaustively using constants as patterns A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. F-non_exhaustive `#![feature(non_exhaustive)]` 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.
#119264 opened Dec 23, 2023 by Skgland
Attributes within patterns do not work if there is another attribute in the same pattern or above A-attributes Area: Attributes (`#[…]`, `#![…]`) A-patterns Relating to patterns and pattern matching C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#118682 opened Dec 6, 2023 by xinyufort
Logically identical code. One compiles, one does not A-diagnostics Area: Messages for errors, warnings, and lints A-patterns Relating to patterns and pattern matching C-enhancement Category: An issue proposing an enhancement or a PR with one. D-papercut Diagnostics: An error or lint that needs small tweaks. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. E-help-wanted Call for participation: Help is requested to fix this issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#116572 opened Oct 9, 2023 by schneems
ProTip! Find all open issues with in progress development work with linked:pr.