-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
B-experimentalBlocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).Blocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-dyn_star`#![feature(dyn_star)]``#![feature(dyn_star)]`T-langRelevant to the language teamRelevant to the language team
Description
This issue tracks known issues or missing functionality with support for dyn* Trait
objects. These are an experimental feature that are meant to support async function in dyn traits.
In addition to the issues linked here, you can also find things that need to be done by greping the code for // FIXME(dyn-star)
or looking at the F-dyn_star label.
- dyn* ICE primitive read not possible for type: [i32; 4] #102173
- &dyn* causes an ICE #102172
- Broken LLVM function when pushing
dyn*
item to Vec. #102141 - Boxes can not be cast to dyn* #102427
- ICE involving references to dyn* #102429
- Bad MIR when casting a reference to dyn* #102430
- rustfmt eats dyn_star syntax rustfmt#5542
- Support pretty-printing
dyn*
trait objects #134601 -
dyn*
does not support trait upcasting #104800 -
dyn
anddyn*
should (probably?) have their TyKind representation split from one another -- Create a new TyKind::DynStar variant #107908 was an attempt at this
Associated PRs
- Initial implementation of dyn* #101212
- (list is incomplete)
About this issue
This is a lang-team experiment -- there hasn't been an RFC for this functionality, we're exploring it both as a potential implementation detail and (more speculatively) a possible language feature in the future. You can read more about dyn* at this blog post.
Lang-team champion: @nikomatsakis
TaKO8Ki, Rageking8, mejrs, wyatt-herkamp, stepancheg and 8 morefade2black and AquaEBMvincenzopalazzo, zirconium-n, Rageking8, Emilgardis, l-Luna and 2 more
Metadata
Metadata
Assignees
Labels
B-experimentalBlocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).Blocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-dyn_star`#![feature(dyn_star)]``#![feature(dyn_star)]`T-langRelevant to the language teamRelevant to the language team
Type
Projects
Status
Feature Complete
Status
Exploration