From 6015edf9af375385ca9eb2ebbb8794c782fa7244 Mon Sep 17 00:00:00 2001 From: varkor Date: Wed, 30 May 2018 16:49:39 +0100 Subject: Remove name from GenericParamKind::Lifetime --- src/libsyntax/ast.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libsyntax/ast.rs') diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 67679468fe4..98f786628f9 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -301,9 +301,7 @@ pub type ParamBounds = Vec; #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] pub enum GenericParamKind { /// A lifetime definition, e.g. `'a: 'b+'c+'d`. - Lifetime { - lifetime: Lifetime, - }, + Lifetime, Type { default: Option>, } -- cgit 1.4.1-3-g733a5