1
Fork 0

change ast::ty_param into a struct.

This commit is contained in:
Erick Tryzelaar 2013-01-13 11:15:14 -08:00
parent df7d376d25
commit e1f1a1204a
6 changed files with 14 additions and 10 deletions

View file

@ -251,7 +251,7 @@ priv impl ext_ctxt {
span: span,
});
{
ast::ty_param {
ident: ident,
id: self.next_id(),
bounds: @vec::append(~[bound], *bounds)
@ -425,7 +425,7 @@ fn mk_impl(
span: span,
});
{
ast::ty_param {
ident: tp.ident,
id: cx.next_id(),
bounds: @vec::append(~[t_bound], *tp.bounds)