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

Unsized types in required trait methods A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-trait-objects Area: trait objects, vtable layout C-feature-request Category: A feature request, i.e: not implemented / a PR. needs-rfc This change is large or controversial enough that it should have an RFC accepted before doing it. 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.
#134475 opened Dec 18, 2024 by ionicmc-rs
Invalid suggestion for AsyncFnOnce trait object A-diagnostics Area: Messages for errors, warnings, and lints A-trait-objects Area: trait objects, vtable layout F-async_closure `#![feature(async_closure)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134182 opened Dec 11, 2024 by ehuss
rustdoc-json: impl dyn Trait gets discarded A-rustdoc-json Area: Rustdoc JSON backend A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
#133719 opened Dec 1, 2024 by aDotInTheVoid
Coherence with object types with overlapping supertrait projections is incomplete A-coherence Area: Coherence A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness P-high High priority T-types Relevant to the types team, which will review and decide on the PR/issue.
#133361 opened Nov 23, 2024 by compiler-errors
dyn AsyncFn generates many independent errors A-diagnostics Area: Messages for errors, warnings, and lints A-trait-objects Area: trait objects, vtable layout D-verbose Diagnostics: Too much output caused by a single piece of incorrect code. F-async_closure `#![feature(async_closure)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132713 opened Nov 6, 2024 by cramertj
regression: Compiler error with dyn + for<'a> A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-types Relevant to the types team, which will review and decide on the PR/issue.
#132000 opened Oct 21, 2024 by ABorgna 1.83.0
projecting to assoc type of supertrait that is implemented differently for trait object goes wrong A-associated-items Area: Associated items (types, constants & functions) A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness requires-nightly This issue requires a nightly compiler in some way. T-types Relevant to the types team, which will review and decide on the PR/issue.
#131891 opened Oct 18, 2024 by lukas-code
GAT type Assoc<T: ?Sized> implicitly requires Self to be 'static A-borrow-checker Area: The borrow checker A-diagnostics Area: Messages for errors, warnings, and lints A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout 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.
#131008 opened Sep 29, 2024 by Veetaha
Unhelpful error message "ambiguous lifetime bound, explicit lifetime bound required" A-diagnostics Area: Messages for errors, warnings, and lints A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout 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.
#130952 opened Sep 27, 2024 by oberien
ICE: "error performing operation: fully_perform" on type inference for trait object with HRTB over GAT A-GATs Area: Generic associated types (GATs) A-higher-ranked Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs) A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout A-trait-system Area: Trait system C-bug Category: This is a bug. fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130797 opened Sep 24, 2024 by arvidfm
ICE: broken MIR: NoSolution on HRTB over GAT in trait object A-GATs Area: Generic associated types (GATs) A-higher-ranked Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs) A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout A-trait-system Area: Trait system C-bug Category: This is a bug. fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130524 opened Sep 18, 2024 by arvidfm
Permit trait object types where all (non-generic) associated constants are specified (via assoc item bindings) A-dyn-compatibility Area: Dyn compatibility (formerly: object safety) A-trait-objects Area: trait objects, vtable layout C-feature-request Category: A feature request, i.e: not implemented / a PR. F-associated_const_equality `#![feature(associated_const_equality)]` requires-nightly This issue requires a nightly compiler in some way. 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. T-types Relevant to the types team, which will review and decide on the PR/issue.
#130300 opened Sep 13, 2024 by fmease
RPITIT "captures lifetime that does not appear in bounds" A-diagnostics Area: Messages for errors, warnings, and lints A-impl-trait Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch. A-trait-objects Area: trait objects, vtable layout 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.
#128752 opened Aug 6, 2024 by tmandry
Can't cast a pointer of a trait object newtype to a pointer of that trait object. A-raw-pointers Area: raw pointers, MaybeUninit, NonNull A-trait-objects Area: trait objects, vtable layout C-discussion Category: Discussion or questions that doesn't represent real issues. T-types Relevant to the types team, which will review and decide on the PR/issue.
#128625 opened Aug 4, 2024 by theemathas
RFC #1733 (Trait Aliases): use of lifetime parameter in trait alias not detected A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. F-trait_alias `#![feature(trait_alias)]` 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.
#127725 opened Jul 14, 2024 by ilonachan
Tracking issue for future-incompatibility lint ptr_cast_add_auto_to_object A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. A-raw-pointers Area: raw pointers, MaybeUninit, NonNull A-trait-objects Area: trait objects, vtable layout C-future-incompatibility Category: Future-incompatibility lints C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#127323 opened Jul 4, 2024 by WaffleLapkin
*x == *y for trait objects produce move error, so it is not equivalent to PartialEq::eq(&*x, &*y) even though the reference says it is A-borrow-checker Area: The borrow checker A-diagnostics Area: Messages for errors, warnings, and lints A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#127215 opened Jul 1, 2024 by estebank
Associated function from super traits not accessible via sub traits A-associated-items Area: Associated items (types, constants & functions) A-diagnostics Area: Messages for errors, warnings, and lints A-resolve Area: Name/path resolution done by `rustc_resolve` specifically A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. D-incorrect Diagnostics: A diagnostic that is giving misleading or incorrect information. 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.
#124438 opened Apr 27, 2024 by WaffleLapkin
ICE: error performing operation: fully_perform A-associated-items Area: Associated items (types, constants & functions) A-trait-objects Area: trait objects, vtable layout A-trait-system Area: Trait system C-bug Category: This is a bug. fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. 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. 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.
#124189 opened Apr 20, 2024 by cushionbadak
ICE: unexpected infer type A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. F-associated_const_equality `#![feature(associated_const_equality)]` 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#123140 opened Mar 27, 2024 by matthiaskrgr
Confusing message for inferred trait object lifetime A-diagnostics Area: Messages for errors, warnings, and lints A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#117600 opened Nov 5, 2023 by pie-flavor
Compilation Hang and Memory Exhaustion When Compiling Code with Associated Type and Trait Objects A-associated-items Area: Associated items (types, constants & functions) A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. F-impl_trait_in_assoc_type `#![feature(impl_trait_in_assoc_type)]` fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. I-hang Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#117275 opened Oct 27, 2023 by iamanonymouscs
Object lifetime defaults of GATs are not respected A-associated-items Area: Associated items (types, constants & functions) A-GATs Area: Generic associated types (GATs) A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout 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.
#115379 opened Aug 30, 2023 by fmease
trait object: specific use case of variance and/or coercion A-DSTs Area: Dynamically-sized types (DSTs) A-trait-objects Area: trait objects, vtable layout A-trait-system Area: Trait system C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#108999 opened Mar 10, 2023 by plafer
dyn Trait<'a> shouldn't carry 'a lifetime A-lifetimes Area: Lifetimes / regions A-trait-objects Area: trait objects, vtable layout C-discussion Category: Discussion or questions that doesn't represent real issues. T-types Relevant to the types team, which will review and decide on the PR/issue.
#104684 opened Nov 21, 2022 by yshui
ProTip! Adding no:label will show everything without a label.