change wrapper higher expects to context-like

This commit is contained in:
brevalferrari 2025-06-07 02:21:40 +02:00
parent 47af63c73c
commit b918cbeaae

View file

@ -167,9 +167,9 @@ where
VariableChange::parser(&parser.variables).map(into_box),
"variable assignment",
),
expect(Loop::parser(parser).map(into_box), "expected a loop"),
expect(Tuplet::parser(parser).map(into_box), "expected a tuplet"),
expect(Slope::parser(parser).map(into_box), "expected a slope"),
expect(Loop::parser(parser).map(into_box), "in the loop"),
expect(Tuplet::parser(parser).map(into_box), "in the tuplet"),
expect(Slope::parser(parser).map(into_box), "in the slope"),
expect(
Note::parser(parser.notes.as_ref()),
"expected a note as last appeal (input didn't match anything known)",