Skip to content

Commit 8d231ec

Browse files
committed
Fix definition of LocalUseMapBuild so that it can build under stage0,
which does not have as many feature gates enabled.
1 parent 09feec6 commit 8d231ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/nll/type_check/liveness/local_use_map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl LocalUseMap<'me> {
9797
}
9898
}
9999

100-
struct LocalUseMapBuild<'me, 'map> {
100+
struct LocalUseMapBuild<'me, 'map: 'me> {
101101
local_use_map: &'me mut LocalUseMap<'map>,
102102
elements: &'me RegionValueElements,
103103
}

0 commit comments

Comments
 (0)