From 195f1d77bd6bdd8988d5cbd107cb0c4cfa4694cc Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 29 Oct 2013 10:34:11 -0400 Subject: Rename and modernize region enum names --- src/libsyntax/ast.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax') 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), } -- cgit 1.4.1-3-g733a5