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

Incorrect expected type for associated type with specialization A-specialization Area: Trait impl specialization C-discussion Category: Discussion or questions that doesn't represent real issues.
#132804 opened Nov 9, 2024 by justinlovinger
Array and Vec's Clone specialization is maybe unsound with conditionally Copy types. A-specialization Area: Trait impl specialization C-bug Category: This is a bug. E-needs-investigation Call for partcipation: This issues needs some investigation to determine current status I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness P-medium Medium priority 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.
#132442 opened Nov 1, 2024 by theemathas
Confusing error message when using min_specialization with dyn Trait A-diagnostics Area: Messages for errors, warnings, and lints A-specialization Area: Trait impl specialization F-min_specialization `#![feature(min_specialization)]` 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.
#130102 opened Sep 8, 2024 by oskgo
[Specialization] Alternatve Minimal implementation: only allow whole-impl specialization, haskell style A-specialization Area: Trait impl specialization C-discussion Category: Discussion or questions that doesn't represent real issues. F-specialization `#![feature(specialization)]`
#125295 opened May 19, 2024 by lolbinarycat
Compiler hang with recursive trait requirement and default impl A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-specialization `#![feature(specialization)]` I-compiletime Issue: Problems and improvements with respect to compile times. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#117909 opened Nov 14, 2023 by jruderman
min_specialization on local types should take impls into account to determine whether a trait can be specialized on A-specialization Area: Trait impl specialization C-enhancement Category: An issue proposing an enhancement or a PR with one. 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.
#113452 opened Jul 7, 2023 by the8472
Cow<'a, T> isn't specializable while FooCow<'a, T> is A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-specialization `#![feature(specialization)]` requires-incomplete-features This issue requires the use of incomplete features.
#106710 opened Jan 11, 2023 by ryoqun
Specialized Associated Type Cannot be Assigned to Value of Concrete Type (Despite type_name Working as Expected) A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-specialization `#![feature(specialization)]`
#106700 opened Jan 11, 2023 by NathanielB123
ICE: rustc_specialization_trait and circular associated type A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-rustc_attrs Internal rustc attributes gated on the `#[rustc_attrs]` feature gate. F-specialization `#![feature(specialization)]` glacier ICE tracked in rust-lang/glacier. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-internal-features This issue requires the use of internal features. 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. T-types Relevant to the types team, which will review and decide on the PR/issue.
#102252 opened Sep 25, 2022 by ChaiTRex
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
Strange behavior when specializing over a generic trait parameter A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-specialization `#![feature(specialization)]` 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.
#91973 opened Dec 15, 2021 by joergbrech
Cycle detected when computing whether impls specialize one another, across crate boundaries A-specialization Area: Trait impl specialization A-trait-system Area: Trait system C-bug Category: This is a bug. I-cycle Issue: A query cycle occurred while none was expected P-low Low priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#90817 opened Nov 12, 2021 by patrick-gu
Diagnostic forgets about transitive trait bounds when there are multiple candidate impls. A-diagnostics Area: Messages for errors, warnings, and lints A-specialization Area: Trait impl specialization A-trait-system Area: Trait system 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. F-rustc_attrs Internal rustc attributes gated on the `#[rustc_attrs]` feature gate. F-specialization `#![feature(specialization)]` 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.
#90665 opened Nov 7, 2021 by BGR360
Specialization on associated type A-diagnostics Area: Messages for errors, warnings, and lints A-specialization Area: Trait impl specialization C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. F-specialization `#![feature(specialization)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#85228 opened May 12, 2021 by vandenheuvel
Conflicing implementation through specialized default implementation A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-specialization `#![feature(specialization)]`
#81376 opened Jan 25, 2021 by vandenheuvel
Error in specialization type checking when using trait aliases A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-specialization `#![feature(specialization)]` F-trait_alias `#![feature(trait_alias)]` requires-nightly This issue requires a nightly compiler in some way.
#74809 opened Jul 27, 2020 by jsmith628
Internal compiler error: find_vtable_types_for_unsizing: invalid coercion A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-coerce_unsized The `CoerceUnsized` trait F-specialization `#![feature(specialization)]` glacier ICE tracked in rust-lang/glacier. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-nightly This issue requires a nightly compiler in some way. S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#74451 opened Jul 17, 2020 by matthewjasper
SpecForElem for i16/u16 and other digits A-collections Area: `std::collection` A-specialization Area: Trait impl specialization C-enhancement Category: An issue proposing an enhancement or a PR with one. I-slow Issue: Problems and improvements with respect to performance of generated code. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#73995 opened Jul 3, 2020 by pickfire
#[track_caller] should inherit through specialization ancestors, too? A-specialization Area: Trait impl specialization F-specialization `#![feature(specialization)]` F-track_caller `#![feature(track_caller)]` 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.
#70293 opened Mar 23, 2020 by anp
Spurious 'conflicting implementations' error when specializing a type with a compilation error A-diagnostics Area: Messages for errors, warnings, and lints A-specialization Area: Trait impl specialization C-bug Category: This is a bug. D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. F-specialization `#![feature(specialization)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#68830 opened Feb 4, 2020 by Aaron1011
specialization: default impl is used, ignoring the vtable of original value A-specialization Area: Trait impl specialization C-bug Category: This is a bug. F-specialization `#![feature(specialization)]` 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.
#68564 opened Jan 27, 2020 by kdy1
Specialization should allow for delegation to default trait method implementation A-specialization Area: Trait impl specialization C-feature-request Category: A feature request, i.e: not implemented / a PR. F-associated_type_defaults `#![feature(associated_type_defaults)]` F-specialization `#![feature(specialization)]` T-lang Relevant to the language team, which will review and decide on the PR/issue.
#68309 opened Jan 17, 2020 by jazzfool
RcFromIter and ArcFromIter have unused specializations A-iterators Area: Iterators A-specialization Area: Trait impl specialization C-bug Category: This is a bug. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#67307 opened Dec 15, 2019 by qnighy
Specialized FnOnce impl compiles failed with a lengthy error message A-diagnostics Area: Messages for errors, warnings, and lints A-specialization Area: Trait impl specialization C-enhancement Category: An issue proposing an enhancement or a PR with one. F-specialization `#![feature(specialization)]` F-unboxed_closures `#![feature(unboxed_closures)]` 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.
#58809 opened Feb 28, 2019 by mzji
Recursive call passes cargo check but fails with cargo build A-closures Area: Closures (`|…| { … }`) A-impl-trait Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch. A-specialization Area: Trait impl specialization T-lang Relevant to the language team, which will review and decide on the PR/issue.
#56711 opened Dec 11, 2018 by ryym
ProTip! Updated in the last three days: updated:>2024-12-23.