Debian Codegraph @

tests/compile-fail/use_undefined_result.rs

raw symbols SCIP
1 extern crate peg;
2
3 peg::parser!(grammar foo() for str {
4 rule foo() = "asdf"
5
6 rule bar() -> u32 = x:foo() { 0 } //~ ERROR using result of rule `foo`, which does not return a value
7 });
8
9 fn main() {}