Change syntax for TyAlias where clauses
This commit is contained in:
parent
379e94f5a4
commit
c20b4f5584
46 changed files with 394 additions and 255 deletions
|
@ -560,6 +560,11 @@ impl<'a> TraitDef<'a> {
|
|||
kind: ast::AssocItemKind::TyAlias(Box::new(ast::TyAlias {
|
||||
defaultness: ast::Defaultness::Final,
|
||||
generics: Generics::default(),
|
||||
where_clauses: (
|
||||
ast::TyAliasWhereClause::default(),
|
||||
ast::TyAliasWhereClause::default(),
|
||||
),
|
||||
where_predicates_split: 0,
|
||||
bounds: Vec::new(),
|
||||
ty: Some(type_def.to_ty(cx, self.span, type_ident, generics)),
|
||||
})),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue