From d9511a1558a3b7cbfaef3a62bf9b84a09ce58a7a Mon Sep 17 00:00:00 2001 From: Mark Mansi Date: Fri, 29 Nov 2019 16:37:52 -0600 Subject: minor fix --- src/librustc_mir/borrow_check/diagnostics/region_errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/librustc_mir/borrow_check/diagnostics/region_errors.rs b/src/librustc_mir/borrow_check/diagnostics/region_errors.rs index f1d9ba09d47..66f0330fe9b 100644 --- a/src/librustc_mir/borrow_check/diagnostics/region_errors.rs +++ b/src/librustc_mir/borrow_check/diagnostics/region_errors.rs @@ -66,7 +66,7 @@ pub struct ErrorReportingCtx<'a, 'b, 'tcx> { pub(super) body: &'b Body<'tcx>, /// User variable names for MIR locals (where applicable). - local_names: &'b IndexVec>, + pub(super) local_names: &'b IndexVec>, /// Any upvars for the MIR body we have kept track of during borrow checking. pub(super) upvars: &'b [Upvar], -- cgit 1.4.1-3-g733a5