rust-peg icon indicating copy to clipboard operation
rust-peg copied to clipboard

Support use-bound on return position impl trait

Open A4-Tacks opened this issue 7 months ago • 1 comments

    pub rule foo() -> impl for<'a> PartialEq<&'a str> + Debug + use<'input>
        = $("foo")
    pub rule bar() -> impl for<'a> PartialEq<&'a str> + Debug + use<>
        = { "bar" }

A4-Tacks avatar May 27 '25 00:05 A4-Tacks

This is a feature of the new version of Rust, I'm not sure how to make the old version ignore this test

A4-Tacks avatar May 27 '25 00:05 A4-Tacks