Skip to content

Commit 28b0ef6

Browse files
committed
Add FIXME
1 parent e885842 commit 28b0ef6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compiler/rustc_trait_selection/src/error_reporting/infer/note_and_explain.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ impl<T> Trait<T> for X {
606606
ty: Ty<'tcx>,
607607
) -> bool {
608608
let tcx = self.tcx;
609+
// FIXME(inherent_associated_types): Extend this to support `ty::Inherent`, too.
609610
if !matches!(proj_ty.kind, ty::AliasTyKind::Projection { .. }) {
610611
return false;
611612
}

0 commit comments

Comments
 (0)