mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Rollup merge of #100901 - TaKO8Ki:make-some-methods-private, r=sanxiyn
Make some methods private
This commit is contained in:
commit
1c0f60f904
@ -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,
|
||||
err: &mut Diagnostic,
|
||||
category: &ConstraintCategory<'tcx>,
|
||||
|
@ -2180,7 +2180,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
|
||||
err.emit()
|
||||
}
|
||||
|
||||
pub(crate) fn add_missing_lifetime_specifiers_label(
|
||||
fn add_missing_lifetime_specifiers_label(
|
||||
&mut self,
|
||||
err: &mut Diagnostic,
|
||||
lifetime_refs: Vec<MissingLifetime>,
|
||||
|
Loading…
Reference in New Issue
Block a user