Closed
Description
Is there an existing issue?
- I have searched the existing issues
Experiencing problems? Have you tried our Stack Exchange first?
- This is not a support question.
Description of bug
error[E0449]: visibility qualifiers are not permitted here
--> substrate/frame/contracts/src/lib.rs:1247:3
|
1247 | environmental!(executing_contract: bool);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: trait items always share the visibility of their trait
= note: this error originates in the macro environmental
(in Nightly builds, run with -Z macro-backtrace for more
Steps to reproduce
This happens when compiling the node-template in the Substrate folder on WSL. I have tried to compile using the latest nightly tool chain and also rustc 1.75.0-nightly as the latest release has been tested against this.