fix test
This commit is contained in:
parent
65e9bc0c93
commit
581e5ee45e
1 changed files with 2 additions and 2 deletions
|
@ -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) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue