i know that this is a duplicate, but problem must be resolved...
So, there are 2 "solutions":
But not a single one worked for me. I still get error that : "associated consts cannot be referenced in patter" rustc(E0158).
Is there anything else that could be done to resolve this?
Versions:
- cargo contract: cargo-contract 1.5.0-unknown-x86_64-pc-windows-msvc
- rustc: rustc 1.66.0-nightly (470e518c4 2022-09-27)