Use ThinVec
in ast::Generics
and related types.
This commit is contained in:
parent
06228d6e93
commit
dd7aff5cc5
12 changed files with 97 additions and 97 deletions
|
@ -125,7 +125,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
|
||||
pub fn poly_trait_ref(&self, span: Span, path: ast::Path) -> ast::PolyTraitRef {
|
||||
ast::PolyTraitRef {
|
||||
bound_generic_params: Vec::new(),
|
||||
bound_generic_params: ThinVec::new(),
|
||||
trait_ref: self.trait_ref(path),
|
||||
span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue