Function rustc_typeck::collect::is_suggestable_infer_ty[][src]

fn is_suggestable_infer_ty(ty: &Ty<'_>) -> bool
Expand 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.