mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Add FIXME
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user