Debian Codegraph @

tests/compile-fail/cache_with_args.stderr

raw
1 error: rules with generics or parameters cannot use #[cache] or #[cache_left_rec]
2 --> $DIR/cache_with_args.rs:5:10
3 |
4 5 | rule foo(x: u32) = "foo" //~ ERROR
5 | ^^^
6
7 error: rules with generics or parameters cannot use #[cache] or #[cache_left_rec]
8 --> $DIR/cache_with_args.rs:8:10
9 |
10 8 | rule ltarg<'a>() -> &'a str = { "" } //~ ERROR
11 | ^^^^^