Skip to content

Commit d9511a1

Browse files
committed
minor fix
1 parent 3c4612a commit d9511a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/diagnostics/region_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub struct ErrorReportingCtx<'a, 'b, 'tcx> {
6666
pub(super) body: &'b Body<'tcx>,
6767

6868
/// User variable names for MIR locals (where applicable).
69-
local_names: &'b IndexVec<Local, Option<Symbol>>,
69+
pub(super) local_names: &'b IndexVec<Local, Option<Symbol>>,
7070

7171
/// Any upvars for the MIR body we have kept track of during borrow checking.
7272
pub(super) upvars: &'b [Upvar],

0 commit comments

Comments
 (0)