pub fn parse_predicate_pest<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
text: &str,
) -> Option<NumericPredicate<'tcx>>Expand description
Parse a predicate (comparison / !x.is_empty() / bare expr) into a
NumericPredicate.
pub fn parse_predicate_pest<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
text: &str,
) -> Option<NumericPredicate<'tcx>>Parse a predicate (comparison / !x.is_empty() / bare expr) into a
NumericPredicate.