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

Type inference of inferred repeat expr counts is not as strong as it could be A-array Area: `[T; N]` C-bug Category: This is a bug. F-generic_arg_infer Using `_` as a const argument: #![feature(generic_arg_infer)]` F-marker_trait_attr `#![feature(marker_trait_attr)]` 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.
#140855 opened May 9, 2025 by BoxyUwU
Tracking issue for release notes of #74985: Tracking Issue for slice::array_chunks A-array Area: `[T; N]` A-const-generics Area: const generics (parameters and arguments) A-slice Area: `[T]` needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#139693 opened Apr 11, 2025 by rustbot
Large amount of generated code for match statements with large arrays A-array Area: `[T; N]` A-MIR Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html A-patterns Relating to patterns and pattern matching C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-heavy Issue: Problems and improvements with respect to binary size of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#110870 opened Apr 26, 2023 by alex
Rust produces unlinkable code when writing large arrays A-array Area: `[T; N]` A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#108566 opened Feb 28, 2023 by msrd0
Unsafe block does not propagate into array length A-array Area: `[T; N]`
#105204 opened Dec 3, 2022 by RalfJung
Suggest .try_into().unwrap() or as _ for const parameters of the wrong type (e.g., in array types) if applicable and possible on stable A-array Area: `[T; N]` A-const-generics Area: const generics (parameters and arguments) A-diagnostics Area: Messages for errors, warnings, and lints D-lack-of-suggestion Diagnostics: Adding a (structured) suggestion would increase the quality of the diagnostic. D-terse Diagnostics: An error or lint that doesn't give enough information about the problem at hand. S-blocked Status: Blocked on something else such as an RFC or other implementation work. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#104949 opened Nov 26, 2022 by scvalex
[ER] Sub-optimal allocation of simple zeroed Vec of arrays A-array Area: `[T; N]` A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.
#104847 opened Nov 24, 2022 by leonardo-m
Provide structural pinning guarantees for slices, vecs, arrays A-array Area: `[T; N]` A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools
#104108 opened Nov 7, 2022 by yoshuawuyts
core::array::from_fn segfaults (v1.64, v1.63) A-array Area: `[T; N]` C-bug Category: This is a bug.
#103756 opened Oct 30, 2022 by mvniekerk
transitive coercion to slice doesn't work for arrays A-array Area: `[T; N]` A-coercions Area: implicit and explicit `expr as Type` coercions C-bug Category: This is a bug.
#103259 opened Oct 19, 2022 by oconnor663
str::array_split for splitting a string into a constant number of substrings A-array Area: `[T; N]` A-const-generics Area: const generics (parameters and arguments) A-str Area: str and String T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#102905 opened Oct 11, 2022 by pitaj
Function operating on arrays performs a lot worse for arrays of length 2 A-array Area: `[T; N]` A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. 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.
#102274 opened Sep 25, 2022 by Canleskis
Array bound test with two simple loops A-array Area: `[T; N]` A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. 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.
#102136 opened Sep 22, 2022 by leonardo-m
Tracking Issue for Iterator::array_chunks A-array Area: `[T; N]` C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#100450 opened Aug 12, 2022 by WaffleLapkin
1 of 7 tasks
Rust allocates stack space for constant arrays, overflowing the stack A-array Area: `[T; N]` C-bug Category: This is a bug.
#99111 opened Jul 10, 2022 by DanielT
Cannot transmute between ZST and zero-sized generic array A-array Area: `[T; N]` C-bug Category: This is a bug.
#98104 opened Jun 14, 2022 by lukas-code
Array Repeat operator should not use a loop for small sizes A-array Area: `[T; N]` A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. 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.
#97804 opened Jun 6, 2022 by programmerjake
Zero-length arrays are non-Copy. A-array Area: `[T; N]` A-specialization Area: Trait impl specialization A-trait-system Area: Trait system T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#94313 opened Feb 24, 2022 by JohnScience
memcpy-style copies of small fixed length arrays become memcpy, unless done via a loop with ops::Index A-array Area: `[T; N]` A-codegen Area: Code generation 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.
#92993 opened Jan 17, 2022 by saethlin
Array copy const fn is surprisingly slow A-array Area: `[T; N]`
#92511 opened Jan 3, 2022 by nico-abram
Vec of 2D or 3D arrays generates very slow code A-array Area: `[T; N]` C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code.
#92350 opened Dec 28, 2021 by leonardo-m
Tracking Issue for additional array::IntoIter constructors (feature array_into_iter_constructors) A-array Area: `[T; N]` C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#91583 opened Dec 6, 2021 by scottmcm
1 of 6 tasks
[ER] Boxed array conversion function A-array Area: `[T; N]` C-feature-request Category: A feature request, i.e: not implemented / a PR. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#90606 opened Nov 5, 2021 by leonardo-m
Tracking Issue for split_array A-array Area: `[T; N]` C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#90091 opened Oct 20, 2021 by jethrogb
2 tasks
Tracking issue for try_array_from_fn A-array Area: `[T; N]` C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#89379 opened Sep 29, 2021 by c410-f3r
1 of 3 tasks
ProTip! Add no:assignee to see everything that’s not assigned.