about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 6245c61dfa1..df9ab083bf2 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -254,8 +254,8 @@ pub enum Def {
 #[deriving(Clone, Eq, IterBytes, Encodable, Decodable, ToStr)]
 pub enum DefRegion {
     DefStaticRegion,
-    DefTypeBoundRegion(/* index */ uint, /* lifetime decl */ NodeId),
-    DefFnBoundRegion(/* binder_id */ NodeId, /* depth */ uint, /* lifetime decl */ NodeId),
+    DefEarlyBoundRegion(/* index */ uint, /* lifetime decl */ NodeId),
+    DefLateBoundRegion(/* binder_id */ NodeId, /* depth */ uint, /* lifetime decl */ NodeId),
     DefFreeRegion(/* block scope */ NodeId, /* lifetime decl */ NodeId),
 }