Skip to content

[Bug] error[E0658]: arbitrary expressions in key-value attributes are unstable #1343

Closed
@myzhang

Description

@myzhang

🐛 Bug Report

Error when running either of:
cargo run --release -- experimental new_account
./run-miner.sh

error[E0658]: arbitrary expressions in key-value attributes are unstable
--> src/rpc/rpc_trait.rs:84:13
|
84 | #[doc = include_str!("./documentation/public_endpoints/sendtransaction.md")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #78835 rust-lang/rust#78835 for more information

Steps to Reproduce

  1. Step 1. Take new machine
  2. Step 2. Follow build instructions
  3. Step 3. Run ./run_miner.sh or cargo run --release -- experimental new_account

Expected Behavior

Miner should start without error

Your Environment

  • 1.56
  • ubunutu 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect or unexpected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions