summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-07-21 15:32:40 -0400
committerMichael Goulet <michael@errs.io>2024-07-21 22:34:37 -0400
commite9e9495f2113c0aa64d96e7850e5fdbe73bb6aac (patch)
tree5c814c17c1129488edb7452c44a93ee3cb847f56 /compiler/rustc_trait_selection/src
parentce8a625092fa48c2be475f659aa2a91b5591108f (diff)
downloadrust-e9e9495f2113c0aa64d96e7850e5fdbe73bb6aac.tar.gz
rust-e9e9495f2113c0aa64d96e7850e5fdbe73bb6aac.zip
Fix tools
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs b/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs
index b2bce8b96ba..885216e6216 100644
--- a/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs
+++ b/compiler/rustc_trait_selection/src/error_reporting/traits/suggestions.rs
@@ -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>,