File: incomplete_grammar.stderr

package info (click to toggle)
rust-peg 0.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 756 kB
  • sloc: makefile: 20; sh: 12
file content (17 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: expected one of "#", "grammar", "pub" at end of input
 --> tests/compile-fail/incomplete_grammar.rs:2:1
  |
2 | peg::parser!();
  | ^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)

error: expected one of "::", "<", "{" at end of input
 --> tests/compile-fail/incomplete_grammar.rs:4:1
  |
4 | / peg::parser!(
5 | |     grammar parser() for str
6 | | );
  | |_^
  |
  = note: this error originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)