AST: Refactor type alias where clauses
This commit is contained in:
parent
384d26fc7e
commit
2b8060578a
8 changed files with 73 additions and 85 deletions
|
@ -601,11 +601,7 @@ impl<'a> TraitDef<'a> {
|
|||
kind: ast::AssocItemKind::Type(Box::new(ast::TyAlias {
|
||||
defaultness: ast::Defaultness::Final,
|
||||
generics: Generics::default(),
|
||||
where_clauses: (
|
||||
ast::TyAliasWhereClause::default(),
|
||||
ast::TyAliasWhereClause::default(),
|
||||
),
|
||||
where_predicates_split: 0,
|
||||
where_clauses: ast::TyAliasWhereClauses::default(),
|
||||
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