You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only stopped working in a recent Rust nightly. I'm not sure if Rust nightly tightened, or if Rust nightly had a regression. Regardless, I hope to see this resolved.
faced the same error today. workaround linked did the trick, although, i had to download the latest binaryen and replace system package mgr installed version.
Hello,
From the flipper example, when executing
cargo +nightly contract build
the following error is thrown :error[E0158]: associated consts cannot be referenced in patterns
cargo --version
returnscargo 1.63.0 (fd9c4297c 2022-07-01)
cargo +nightly -V
returnscargo 1.65.0-nightly (082503982 2022-09-13)
rustc --version
returnsrustc 1.63.0 (4b91a6ea7 2022-08-08)
and
cargo contract -V
returncargo-contract 1.5.0-unknown-x86_64-unknown-linux-gnu
the issue have been reported multiple times on Substrate.StackExchange (here, here and here )
Although a workaround have been explained https://substrate.stackexchange.com/a/4847/151, to me it's still a bug, and I don't understand why it does not work as it's supposed to?
The text was updated successfully, but these errors were encountered: