rollup merge of #18506 : nikomatsakis/assoc-type-bounds

This commit is contained in:
Alex Crichton 2014-11-03 15:29:29 -08:00
commit eb793616dc
25 changed files with 519 additions and 433 deletions

View file

@ -2203,12 +2203,12 @@ impl Clean<Stability> for attr::Stability {
impl Clean<Item> for ast::AssociatedType {
fn clean(&self, cx: &DocContext) -> Item {
Item {
source: self.span.clean(cx),
name: Some(self.ident.clean(cx)),
source: self.ty_param.span.clean(cx),
name: Some(self.ty_param.ident.clean(cx)),
attrs: self.attrs.clean(cx),
inner: AssociatedTypeItem,
visibility: None,
def_id: ast_util::local_def(self.id),
def_id: ast_util::local_def(self.ty_param.id),
stability: None,
}
}