Debian Codegraph @

tests/compile-fail/cache_with_args.rs

raw symbols SCIP
1 extern crate peg;
2
3 peg::parser!(grammar foo() for str {
4 #[cache]
5 rule foo(x: u32) = "foo" //~ ERROR
6
7 #[cache]
8 rule ltarg<'a>() -> &'a str = { "" } //~ ERROR
9 });
10
11 fn main() {}