Skip to content

Implement DST #12938

Closed
Closed
@nrc

Description

@nrc
Member

Tracking bug for implementing DST (I'll file issues for the intermediate steps).

@nick29581 to implement, @nikomatsakis to write an RFC for the RFC repo.

Nominating 1.0 (I think its already been discussed and agree that this blocks 1.0, if someone could tag this, it would be great).

Sub-bugs:

Tasks which don't yet have issues

  • Add fat pointers to trans
    Indexing into fat pointer types in trans
    remove all the hackey support for old behaviour (where we treat &[T] differently from &([T]))
    structs
    recursive coercions (pointers in structs) - needs some design work (DST/custom coercions #18598, part of Implement revised coercion rules #18469)
    strings (but can only be instantiated using transmute)
    traits
    use DST coercions for receiver when doing trait/method search (leaving this till post- NIko's cleanup of everything trait related, if we want to do it at all).
    properly deal with type aliases which are traits (i.e., accept them everywhere a trait is accepted). I don't actually think there is anything legitimate to do here - type = Trait... works and can be used anywhere a trait type could be used. It would be wrong to use a type, even an alias to a trait type where a trait is expected

Activity

flaper87

flaper87 commented on Mar 16, 2014

@flaper87
Contributor

Update: Nominated. This should probably become a metabug as soon as the sub-bugs are created.

edwardw

edwardw commented on Mar 17, 2014

@edwardw
Contributor

cc #6308.

pnkfelix

pnkfelix commented on Mar 20, 2014

@pnkfelix
Member

(we usually do not nominate metabugs for assignment to milestones, but DST is a special case so we are making an exception in this case.)

P-backcompat-lang, 1.0.

added this to the 1.0 milestone on Mar 20, 2014

49 remaining items

pnkfelix

pnkfelix commented on Sep 11, 2014

@pnkfelix
Member

(waiting for fresh ticket with specific P-backcompat-lang issue to be opened; removing I-nominated for now and leaving everything otherwise unchanged.)

nrc

nrc commented on Sep 18, 2014

@nrc
MemberAuthor

No longer 1.0 - everything done except #17178 (and an RFC for trait object impls)

pnkfelix

pnkfelix commented on Sep 18, 2014

@pnkfelix
Member

Removing P-backcompat-lang and 1.0 milestone designation, but leaving metabug open.

removed this from the 1.0 milestone on Sep 18, 2014
bstrie

bstrie commented on Nov 11, 2014

@bstrie
Contributor

#17178 appears to be done now. Would we like to leave this open until we clear out the list of tasks without issues?

aturon

aturon commented on Nov 21, 2014

@aturon
Member

I just added #19187

nrc

nrc commented on Jan 20, 2015

@nrc
MemberAuthor

The only outstanding issue here is coercions which have their own issue and are tracked as part of the coercions RFC. Closing.

added a commit that references this issue on Jun 27, 2024

Auto merge of rust-lang#12938 - elijah-potter:patch-1, r=flip1995

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

metabugIssues about issues themselves ("bugs about bugs")

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @flaper87@pcwalton@pnkfelix@Aatch@edwardw

      Issue actions

        Implement DST · Issue #12938 · rust-lang/rust