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

Update AST to hold generic associated types #226

Closed
dtolnay opened this issue Nov 11, 2017 · 0 comments
Closed

Update AST to hold generic associated types #226

dtolnay opened this issue Nov 11, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@dtolnay
Copy link
Owner

dtolnay commented Nov 11, 2017

TraitItemType and ImplItemType will need to hold generic parameters, not just an ident for the associated type.

rust-lang/rust#44265

trait StreamingIterator {
    type Item<'a>;
    fn next<'a>(&'a mut self) -> Option<Self::Item<'a>>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants