Stream: t-compiler/help

Topic: unexpected()


Josh Triplett (Jun 14 2020 at 21:06, on Zulip):

Is there a reason that Parser::unexpected() is crate-private, rather than public? The equivalent, expect_one_of(&[], &[]), is public.

Josh Triplett (Jun 14 2020 at 21:07, on Zulip):

I wanted to simplify some parsing code so that it'd be easier to add another case to it, and in the process, I wanted to change a series of eat, eat, ..., expect into eat, eat, ..., eat, unexpected.

Last update: Sep 28 2020 at 15:30UTC