(ctx: CtxRef, input: ParseStream)
| 585 | } |
| 586 | |
| 587 | fn parse_negate(ctx: CtxRef, input: ParseStream) -> Result { |
| 588 | let negate = input.parse::<kw::Negate>()?; |
| 589 | |
| 590 | let parse_input = ParseChildren::new(input, negate.span().start()); |
| 591 | let input = Box::new(parse_input.parse_one(ctx, parse_expr)?); |
| 592 | |
| 593 | Ok(MirRelationExpr::Negate { input }) |
| 594 | } |
| 595 | |
| 596 | fn parse_threshold(ctx: CtxRef, input: ParseStream) -> Result { |
| 597 | let threshold = input.parse::<kw::Threshold>()?; |
no test coverage detected