This repository was archived by the owner on Aug 20, 2020. It is now read-only.
This repository was archived by the owner on Aug 20, 2020. It is now read-only.
error[E0424] building substrate template for first tutorial #45
Closed
Description
I'm trying to complete the 1st tutorial from https://www.substrate.io/tutorials/create-your-first-substrate-chain/v2.0.0-rc2
The following error from running the command cargo build --release
resulted
error[E0424]: expected value, found module `self`
--> /Users/wlopez/.cargo/git/checkouts/substrate- 7e08433d4c370a21/45b9f0a/frame/support/src/traits.rs:913:11
|
911 | / bitmask! {
912 | | /// Reasons for moving funds out of an account.
913 | | #[derive(Encode, Decode)]
| | ^^^^^^ `self` value is a keyword only available in methods with a `self` parameter
914 | | pub mask WithdrawReasons: i8 where
... |
929 | | }
930 | | }
| |_- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
Metadata
Metadata
Assignees
Labels
No labels