Take advantage of the lifetime refactoring

This commit is contained in:
varkor
2018-05-31 15:52:17 +01:00
parent 6015edf9af
commit 831b5c02df
8 changed files with 50 additions and 66 deletions

View File

@@ -309,8 +309,8 @@ pub enum GenericParamKind {
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
pub struct GenericParam {
pub ident: Ident,
pub id: NodeId,
pub ident: Ident,
pub attrs: ThinVec<Attribute>,
pub bounds: ParamBounds,