Skip to content

Commit 581e5ee

Browse files
committed
fix test
1 parent 65e9bc0 commit 581e5ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/free_region.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ impl FreeRegionMap {
162162

163163
#[cfg(test)]
164164
fn free_region(index: u32) -> FreeRegion {
165-
use middle::region::DestructionScopeData;
166-
FreeRegion { scope: DestructionScopeData::new(0),
165+
use middle::region::DUMMY_CODE_EXTENT;
166+
FreeRegion { scope: DUMMY_CODE_EXTENT,
167167
bound_region: ty::BoundRegion::BrAnon(index) }
168168
}
169169

0 commit comments

Comments
 (0)