From 28b0ef66830352d72e69c8344f34f4197fc633c4 Mon Sep 17 00:00:00 2001 From: cijiugechu Date: Wed, 15 Apr 2026 00:29:50 +0800 Subject: [PATCH] Add FIXME --- .../src/error_reporting/infer/note_and_explain.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_trait_selection/src/error_reporting/infer/note_and_explain.rs b/compiler/rustc_trait_selection/src/error_reporting/infer/note_and_explain.rs index ccf5c131b6fe..212664b07ed3 100644 --- a/compiler/rustc_trait_selection/src/error_reporting/infer/note_and_explain.rs +++ b/compiler/rustc_trait_selection/src/error_reporting/infer/note_and_explain.rs @@ -606,6 +606,7 @@ fn suggest_constraint( ty: Ty<'tcx>, ) -> bool { let tcx = self.tcx; + // FIXME(inherent_associated_types): Extend this to support `ty::Inherent`, too. if !matches!(proj_ty.kind, ty::AliasTyKind::Projection { .. }) { return false; }