Debian Codegraph @

tests/compile-fail/nullable_loop.rs

raw symbols SCIP
1 peg::parser!(grammar e() for str {
2 rule nested() = ("a"*)* //~ ERROR
3
4 rule nested_ok() = ("a"+)*
5
6 rule nullable() = "x"?
7
8 rule call() = "foo" nullable()* //~ ERROR
9
10 rule more_complex() = ("x" / "a"? "b"?)*<2,> //~ ERROR
11 });
12
13 fn main() {}