Closed rubenmoor closed 2 years ago
No, this code works from rust 1.58 onwards. Are you sure you're running 1.60? I just tested it locally with 1.60 and it compiles just fine.
Thanks. My mistake. I am on NixOS, 21.11, with rust version 1.56. From 22.05 on, the rust version is 1.60.0.
Initially I thought, I might have an outdated compiler. Maybe it's the other way round and I would need an older rust version?
The complete error output: