Debian Codegraph @

tests/compile-fail/duplicate_rule.rs

raw symbols SCIP
1 extern crate peg;
2
3 peg::parser!(grammar foo() for str { //~ ERROR the name `__parse_foo` is defined multiple times [E0428]
4 rule foo() = "foo"
5
6 rule foo() = "xyz" //~ ERROR duplicate rule `foo`
7 });
8
9 fn main() {}