Refactor hir::GenericParam as a struct
This commit is contained in:
parent
d643946550
commit
82dba3d419
23 changed files with 710 additions and 572 deletions
|
@ -568,7 +568,8 @@ impl<'a> TraitDef<'a> {
|
|||
bounds.push((*declared_bound).clone());
|
||||
}
|
||||
|
||||
GenericParamAST::Type(cx.typaram(self.span, ty_param.ident, vec![], bounds, None))
|
||||
let ty_param = cx.typaram(self.span, ty_param.ident, vec![], bounds, None);
|
||||
GenericParamAST::Type(ty_param)
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue