From 8d231ec872aa7ede20faf70e988ebfbded351b53 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Tue, 28 Aug 2018 10:59:15 +0200 Subject: [PATCH] Fix definition of `LocalUseMapBuild` so that it can build under stage0, which does not have as many feature gates enabled. --- .../borrow_check/nll/type_check/liveness/local_use_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/borrow_check/nll/type_check/liveness/local_use_map.rs b/src/librustc_mir/borrow_check/nll/type_check/liveness/local_use_map.rs index 9cbe49bc8facf..73d285c2f2eb8 100644 --- a/src/librustc_mir/borrow_check/nll/type_check/liveness/local_use_map.rs +++ b/src/librustc_mir/borrow_check/nll/type_check/liveness/local_use_map.rs @@ -97,7 +97,7 @@ impl LocalUseMap<'me> { } } -struct LocalUseMapBuild<'me, 'map> { +struct LocalUseMapBuild<'me, 'map: 'me> { local_use_map: &'me mut LocalUseMap<'map>, elements: &'me RegionValueElements, }