Skip to content
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

Implement defaults for associated types #19476

Closed
nrc opened this issue Dec 2, 2014 · 3 comments · Fixed by #25796
Closed

Implement defaults for associated types #19476

nrc opened this issue Dec 2, 2014 · 3 comments · Fixed by #25796
Labels
A-associated-items Area: Associated items (types, constants & functions)

Comments

@nrc
Copy link
Member

nrc commented Dec 2, 2014

No description provided.

@nrc nrc added the A-associated-items Area: Associated items (types, constants & functions) label Dec 2, 2014
@nrc
Copy link
Member Author

nrc commented Dec 2, 2014

See some discussion of how default associated types interact with checking of associated items in bindings in #19121.

@nikomatsakis
Copy link
Contributor

Intended semantics of defaults are that you can leave out the type from the impl, that's all. In particular they don't affect uses of the trait.

@jroesch
Copy link
Member

jroesch commented Feb 6, 2015

cc me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-associated-items Area: Associated items (types, constants & functions)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants