Function easy_plugin::extractor::ty_to_never
[−]
pub fn ty_to_never(ty: &Ty) -> Result<(), (Span, String)>
Returns Ok
if the supplied Ty
is Ty::Never
.