Function easy_plugin::extractor::ty_to_infer []

pub fn ty_to_infer(ty: &Ty) -> Result<(), (Span, String)>

Returns Ok if the supplied Ty is Ty::Infer.