about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-10-29 10:34:11 -0400
committerNiko Matsakis <niko@alum.mit.edu>2013-11-08 19:47:57 -0500
commit195f1d77bd6bdd8988d5cbd107cb0c4cfa4694cc (patch)
tree783e7787cc9ca4d4efbf3e3cb24e568cadac9ce7 /src/libsyntax
parent5e54a7323dc3cc8b121de313b9af2d16424b086e (diff)
downloadrust-195f1d77bd6bdd8988d5cbd107cb0c4cfa4694cc.tar.gz
rust-195f1d77bd6bdd8988d5cbd107cb0c4cfa4694cc.zip
Rename and modernize region enum names
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),
 }