Function rustc_typeck::collect::is_suggestable_infer_ty [−][src]
fn is_suggestable_infer_ty(ty: &Ty<'_>) -> bool
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.