Rollup merge of #100901 - TaKO8Ki:make-some-methods-private, r=sanxiyn
Make some methods private
This commit is contained in:
commit
1c0f60f904
2 changed files with 3 additions and 2 deletions
|
@ -273,7 +273,8 @@ impl<'tcx> BorrowExplanation<'tcx> {
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub(crate) fn add_lifetime_bound_suggestion_to_diagnostic(
|
|
||||||
|
fn add_lifetime_bound_suggestion_to_diagnostic(
|
||||||
&self,
|
&self,
|
||||||
err: &mut Diagnostic,
|
err: &mut Diagnostic,
|
||||||
category: &ConstraintCategory<'tcx>,
|
category: &ConstraintCategory<'tcx>,
|
||||||
|
|
|
@ -2180,7 +2180,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
|
||||||
err.emit()
|
err.emit()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn add_missing_lifetime_specifiers_label(
|
fn add_missing_lifetime_specifiers_label(
|
||||||
&mut self,
|
&mut self,
|
||||||
err: &mut Diagnostic,
|
err: &mut Diagnostic,
|
||||||
lifetime_refs: Vec<MissingLifetime>,
|
lifetime_refs: Vec<MissingLifetime>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue