☰
Debian Codegraph
@
0.8.5-1
/
/
tests
/
compile-fail
/
duplicate_rule.rs
☽
☼
tests/compile-fail/duplicate_rule.rs
code
plain
raw
symbols
SCIP
Expat
2013 Kevin Mehall <
[email protected]
>
debian/copyright
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
() {}