Skip to content

Stabilization docs for RFC 2300 - self_in_typedefs #473

Description

@Centril

RFC: rust-lang/rfcs#2300
Stabilization was done (rust-lang/rust#56366) and it will be in 1.32.
cc rust-lang/rust#49303

Activity

  1. added this to the 1.32 milestone on Dec 9, 2018
  2. changed the title [-]Stabilization docs for RFC 2300[/-] [+]Stabilization docs for RFC 2300 - self_in_typedefs[/+] on Dec 9, 2018
  3. Centril commented on Dec 11, 2018

    @Centril
    ContributorAuthor

    @alexreg suggested that this was already done in the reference... but it would be good to double check...

  4. ehuss commented on Dec 11, 2018

    @ehuss
    Contributor

    Unless I'm missing something, I don't think it is documented. It is explained for traits and impls, but I don't think there is much detail besides that. The section on Self should probably be updated to include a link to something that describes self_in_typedefs. I don't know where that should live (types chapter maybe?).

  5. alexreg commented on Dec 12, 2018

    @alexreg
    Contributor

    It's already in the grammar.

  6. Centril commented on Dec 12, 2018

    @Centril
    ContributorAuthor

    An idea: in the recursive types section: https://doc.rust-lang.org/nightly/reference/types.html#recursive-types we could illustrate the use of Self... Otherwise @alexreg is right that it is in the type expression grammar.

  7. alexreg commented on Dec 12, 2018

    @alexreg
    Contributor

    @Centril Yep, that could work.

  8. self-assigned this
    on Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

RFC Stabilization DocsDocumentation required for stabilizing a feature

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions