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:
parent
5ba6102657
commit
e656081b70
26 changed files with 179 additions and 138 deletions
|
@ -417,7 +417,6 @@ impl<'a> TraitDef<'a> {
|
|||
cx.typaram(self.span,
|
||||
ty_param.ident,
|
||||
OwnedSlice::from_vec(bounds),
|
||||
ty_param.unbound.clone(),
|
||||
None)
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue