summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-05-31 15:52:17 +0100
committervarkor <github@varkor.com>2018-06-20 12:23:08 +0100
commit831b5c02df7235f2df804ee62e7cd2caf02bdad1 (patch)
treed5aabc075550779d29248e10782c7aab5e044572 /src/libsyntax/ast.rs
parent6015edf9af375385ca9eb2ebbb8794c782fa7244 (diff)
downloadrust-831b5c02df7235f2df804ee62e7cd2caf02bdad1.tar.gz
rust-831b5c02df7235f2df804ee62e7cd2caf02bdad1.zip
Take advantage of the lifetime refactoring
Diffstat (limited to 'src/libsyntax/ast.rs')
-rw-r--r--src/libsyntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 98f786628f9..389afa96ea0 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -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,