bug: impl Trait
only allowed in function and inherent method return types, not in trait method return types
#285
Labels
bug
Something isn't working
Describe the bug
I don't have ts-rs in my code yet, it has just been added to Cargo.toml and cargo run fails straight out.
I'm super new to rust but this doesn't make sense to me. Looks like no one else has this issue. I tried it with 8.1.0 and also 8.0.0 as below:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should compile without errors.
Version
8.0.0 and 8.1.0
Additional context
Debian (on codespaces) using rustc 1.74.0
My Cargo file looks like:
The text was updated successfully, but these errors were encountered: