Rename and modernize region enum names

This commit is contained in:
Niko Matsakis 2013-10-29 10:34:11 -04:00
parent 5e54a7323d
commit 195f1d77bd
35 changed files with 315 additions and 307 deletions

View file

@ -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),
}