File: cache_with_args.stderr

package info (click to toggle)
rust-peg 0.8.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 756 kB
  • sloc: makefile: 20; sh: 12
file content (11 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
error: rules with generics or parameters cannot use #[cache] or #[cache_left_rec]
 --> $DIR/cache_with_args.rs:5:10
  |
5 |     rule foo(x: u32) = "foo" //~ ERROR
  |          ^^^

error: rules with generics or parameters cannot use #[cache] or #[cache_left_rec]
 --> $DIR/cache_with_args.rs:8:10
  |
8 |     rule ltarg<'a>() -> &'a str = { "" } //~ ERROR
  |          ^^^^^