fix test
This commit is contained in:
@@ -162,8 +162,8 @@ impl FreeRegionMap {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
fn free_region(index: u32) -> FreeRegion {
|
fn free_region(index: u32) -> FreeRegion {
|
||||||
use middle::region::DestructionScopeData;
|
use middle::region::DUMMY_CODE_EXTENT;
|
||||||
FreeRegion { scope: DestructionScopeData::new(0),
|
FreeRegion { scope: DUMMY_CODE_EXTENT,
|
||||||
bound_region: ty::BoundRegion::BrAnon(index) }
|
bound_region: ty::BoundRegion::BrAnon(index) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user