Function easy_plugin::extractor::pat_to_lit
[−]
pub fn pat_to_lit(pat: &Pat) -> Result<P<Expr>, (Span, String)>
Returns the PatKind::Lit
value in the supplied Pat
.