1
Fork 0

Fix tools

This commit is contained in:
Michael Goulet 2024-07-21 15:32:40 -04:00
parent ce8a625092
commit e9e9495f21
4 changed files with 7 additions and 4 deletions

View file

@ -2244,7 +2244,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
///
/// Returns `true` if an async-await specific note was added to the diagnostic.
#[instrument(level = "debug", skip_all, fields(?obligation.predicate, ?obligation.cause.span))]
pub(super) fn maybe_note_obligation_cause_for_async_await<G: EmissionGuarantee>(
pub fn maybe_note_obligation_cause_for_async_await<G: EmissionGuarantee>(
&self,
err: &mut Diag<'_, G>,
obligation: &PredicateObligation<'tcx>,