Skip to content

Update AST to hold generic associated types #226

Closed
@dtolnay

Description

@dtolnay

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>>;
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions