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

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
Tracking issue for release notes of #126660: Allow dropping dyn Trait principal A-coercions Area: implicit and explicit `expr as Type` coercions A-trait-objects Area: trait objects, vtable layout 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-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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative
#130985 opened Sep 28, 2024 by rustbot
3 tasks
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-traits 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) ❄️ 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-traits Area: Trait system fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test.
#130524 opened Sep 18, 2024 by arvidfm
Permit trait object types where all (non-generic) associated constants are specified (via assoc item bindings) 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: Marked as 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-traits 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
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
Incorrect Suggestion when Returning a Bare Trait from a Function A-diagnostics Area: Messages for errors, warnings, and lints A-trait-objects Area: trait objects, vtable layout 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.
#127691 opened Jul 13, 2024 by veera-sivarajan
Verbose Error When a Function Takes a Bare Trait as Parameter 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#127690 opened Jul 13, 2024 by veera-sivarajan
Misleading Suggestion when Returning a Reference to a Bare Trait from a Function A-diagnostics Area: Messages for errors, warnings, and lints A-trait-objects Area: trait objects, vtable layout 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.
#127689 opened Jul 13, 2024 by veera-sivarajan
Tracking issue for future-incompatibility lint ptr_cast_add_auto_to_object A-lint 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: A tracking issue for an RFC or an unstable feature. 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
Allow dropping dyn Trait principal A-coercions Area: implicit and explicit `expr as Type` coercions A-trait-objects Area: trait objects, vtable layout disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. needs-fcp This change is insta-stable, so needs a completed FCP to proceed. S-waiting-on-team Status: Awaiting decision from the relevant subteam (see the T-<team> label). 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. to-announce Announce this issue on triage meeting WG-trait-system-refactor The Rustc Trait System Refactor Initiative
#126660 opened Jun 19, 2024 by Jules-Bertholet Loading…
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 resolution 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: 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
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
Imperfect vtable layout with an empty super trait comming after non-empty one A-trait-objects Area: trait objects, vtable layout C-enhancement Category: An issue proposing an enhancement or a PR with one. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such F-trait_upcasting `#![feature(trait_upcasting)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#114942 opened Aug 17, 2023 by WaffleLapkin
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
Casting to dyn Trait implies 'static lifetime, but "lifetime may not live long enough" does not prompt 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.
#104197 opened Nov 9, 2022 by farnz
Box<dyn FnOnce(T)> doesn't seem to be really contravariant with T A-trait-objects Area: trait objects, vtable layout A-traits Area: Trait system A-variance Area: Variance (https://doc.rust-lang.org/nomicon/subtyping.html) 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.
#100728 opened Aug 18, 2022 by fakedrake
dyn XXX had impl Debug, but dyn XXX + Send can't Debug. A-trait-objects Area: trait objects, vtable layout A-traits Area: Trait system C-bug Category: This is a bug. T-types Relevant to the types team, which will review and decide on the PR/issue.
#96360 opened Apr 24, 2022 by rise0chen
Trait lifetime bounds seem to be insufficient 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.
#92520 opened Jan 3, 2022 by davidhalter
In Impl Trait for T with associated type that = T, bounds do not recognize that T impls Trait A-associated-items Area: Associated items (types, constants & functions) A-trait-objects Area: trait objects, vtable layout C-bug Category: This is a bug. 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.
#92505 opened Jan 3, 2022 by thorjelly
Tracking issue for future-incompatibility lint deref_into_dyn_supertrait A-lint Area: Lints (warnings about flaws in source code) such as unused_mut. A-trait-objects Area: trait objects, vtable layout C-future-incompatibility Category: Future-incompatibility lints C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. S-tracking-needs-summary Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation. 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.
#89460 opened Oct 2, 2021 by crlf0710
ProTip! Type g i on any issue or pull request to go back to the issue listing page.