(ctx: CtxRef, input: ParseStream)
| 603 | } |
| 604 | |
| 605 | fn parse_union(ctx: CtxRef, input: ParseStream) -> Result { |
| 606 | let union = input.parse::<kw::Union>()?; |
| 607 | |
| 608 | let parse_inputs = ParseChildren::new(input, union.span().start()); |
| 609 | let mut children = parse_inputs.parse_many(ctx, parse_expr)?; |
| 610 | let inputs = children.split_off(1); |
| 611 | let base = Box::new(children.into_element()); |
| 612 | |
| 613 | Ok(MirRelationExpr::Union { base, inputs }) |
| 614 | } |
| 615 | |
| 616 | fn parse_arrange_by(ctx: CtxRef, input: ParseStream) -> Result { |
| 617 | let arrange_by = input.parse::<kw::ArrangeBy>()?; |
no test coverage detected