diff options
| author | varkor <github@varkor.com> | 2018-05-30 16:49:39 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-06-20 12:23:08 +0100 |
| commit | 6015edf9af375385ca9eb2ebbb8794c782fa7244 (patch) | |
| tree | e07b5a2233e2c32b950b84d3dd1547e62b983f5e /src/libsyntax/ast.rs | |
| parent | c4e8e718807d1925769bdcdd055c6d8de05f20ce (diff) | |
| download | rust-6015edf9af375385ca9eb2ebbb8794c782fa7244.tar.gz rust-6015edf9af375385ca9eb2ebbb8794c782fa7244.zip | |
Remove name from GenericParamKind::Lifetime
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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<ParamBound>; #[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<P<Ty>>, } |
