Function rustc_hir_analysis::collect::is_suggestable_infer_ty
source · fn is_suggestable_infer_ty(ty: &Ty<'_>) -> boolExpand description
Whether ty is a type with _ placeholders that can be inferred. Used in diagnostics only to
use inference to provide suggestions for the appropriate type if possible.