1
Fork 0
This commit is contained in:
Ariel Ben-Yehuda 2015-08-22 22:51:29 +03:00
parent 65e9bc0c93
commit 581e5ee45e

View file

@ -162,8 +162,8 @@ impl FreeRegionMap {
#[cfg(test)]
fn free_region(index: u32) -> FreeRegion {
use middle::region::DestructionScopeData;
FreeRegion { scope: DestructionScopeData::new(0),
use middle::region::DUMMY_CODE_EXTENT;
FreeRegion { scope: DUMMY_CODE_EXTENT,
bound_region: ty::BoundRegion::BrAnon(index) }
}