1
Fork 0

Accept ?Sized as well as Sized?

Includes a bit of refactoring to store `?` unbounds as bounds with a modifier, rather than in their own world, in the AST at least.
This commit is contained in:
Nick Cameron 2014-12-24 19:38:10 +13:00
parent 5ba6102657
commit e656081b70
26 changed files with 179 additions and 138 deletions

View file

@ -417,7 +417,6 @@ impl<'a> TraitDef<'a> {
cx.typaram(self.span,
ty_param.ident,
OwnedSlice::from_vec(bounds),
ty_param.unbound.clone(),
None)
}));