Skip to content

Stabilization docs for RFC 2300 - self_in_typedefs #473

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
Centril opened this issue Dec 1, 2018 · 5 comments
Open

Stabilization docs for RFC 2300 - self_in_typedefs #473

Centril opened this issue Dec 1, 2018 · 5 comments
Assignees
Labels
RFC Stabilization Docs Documentation required for stabilizing a feature
Milestone

Comments

@Centril
Copy link
Contributor

Centril commented Dec 1, 2018

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

@Centril Centril added the RFC Stabilization Docs Documentation required for stabilizing a feature label Dec 1, 2018
@Centril Centril added this to the 1.32 milestone Dec 9, 2018
@ehuss ehuss changed the title Stabilization docs for RFC 2300 Stabilization docs for RFC 2300 - self_in_typedefs Dec 9, 2018
@Centril
Copy link
Contributor Author

Centril commented Dec 11, 2018

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

@ehuss
Copy link
Contributor

ehuss commented Dec 11, 2018

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?).

@alexreg
Copy link
Contributor

alexreg commented Dec 12, 2018

It's already in the grammar.

@Centril
Copy link
Contributor Author

Centril commented Dec 12, 2018

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.

@alexreg
Copy link
Contributor

alexreg commented Dec 12, 2018

@Centril Yep, that could work.

@Centril Centril self-assigned this Dec 28, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
RFC Stabilization Docs Documentation required for stabilizing a feature
Projects
None yet
Development

No branches or pull requests

3 participants