We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c4612a commit d9511a1Copy full SHA for d9511a1
src/librustc_mir/borrow_check/diagnostics/region_errors.rs
@@ -66,7 +66,7 @@ pub struct ErrorReportingCtx<'a, 'b, 'tcx> {
66
pub(super) body: &'b Body<'tcx>,
67
68
/// User variable names for MIR locals (where applicable).
69
- local_names: &'b IndexVec<Local, Option<Symbol>>,
+ pub(super) local_names: &'b IndexVec<Local, Option<Symbol>>,
70
71
/// Any upvars for the MIR body we have kept track of during borrow checking.
72
pub(super) upvars: &'b [Upvar],
0 commit comments