Rollup merge of #100669 - nnethercote:attribute-cleanups, r=spastorino
Attribute cleanups r? `@ghost`
This commit is contained in:
commit
3e057d1512
15 changed files with 6 additions and 29 deletions
|
@ -107,14 +107,13 @@ impl<'a> ExtCtxt<'a> {
|
|||
&self,
|
||||
span: Span,
|
||||
ident: Ident,
|
||||
attrs: Vec<ast::Attribute>,
|
||||
bounds: ast::GenericBounds,
|
||||
default: Option<P<ast::Ty>>,
|
||||
) -> ast::GenericParam {
|
||||
ast::GenericParam {
|
||||
ident: ident.with_span_pos(span),
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
attrs: attrs.into(),
|
||||
attrs: AttrVec::new(),
|
||||
bounds,
|
||||
kind: ast::GenericParamKind::Type { default },
|
||||
is_placeholder: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue