Skip to content

Commit 2d7176f

Browse files
committed
Fix missing struct name
1 parent fa1868d commit 2d7176f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {
198198

199199
pub fn create_region_hierarchy(&mut self, rh: &RH,
200200
parent: (region::Scope, region::ScopeDepth)) {
201-
let me = region { id: rh.id, data: region::ScopeData::Node };
201+
let me = region::Scope { id: rh.id, data: region::ScopeData::Node };
202202
self.region_scope_tree.record_scope_parent(me, Some(parent));
203203
for child_rh in rh.sub {
204204
self.create_region_hierarchy(child_rh, (me, parent.1 + 1));

0 commit comments

Comments
 (0)