Debian Codegraph @

tests/compile-fail/incomplete_grammar.stderr

raw
1 error: expected one of "#", "grammar", "pub" at end of input
2 --> tests/compile-fail/incomplete_grammar.rs:2:1
3 |
4 2 | peg::parser!();
5 | ^^^^^^^^^^^^^^
6 |
7 = note: this error originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: expected one of "::", "<", "{" at end of input
10 --> tests/compile-fail/incomplete_grammar.rs:4:1
11 |
12 4 | / peg::parser!(
13 5 | | grammar parser() for str
14 6 | | );
15 | |_^
16 |
17 = note: this error originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)