Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
myzhang opened this issue Nov 27, 2021 · 3 comments
Closed
Labels
bug Incorrect or unexpected behavior

Comments

@myzhang
Copy link

myzhang commented Nov 27, 2021

🐛 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
@myzhang myzhang added the bug Incorrect or unexpected behavior label Nov 27, 2021
@grsahil20
Copy link

Similar to what I posted already here https://github.com/AleoHQ/snarkOS/issues/1342

@myzhang
Copy link
Author

myzhang commented Nov 27, 2021

@grsahil20 You're right, I read your item but not the comment you later added

@myzhang myzhang closed this as completed Nov 27, 2021
@BruceLoveDecimal
Copy link

I met this problem too, and it cant be fixed even my rustc version is 1.57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect or unexpected behavior
Projects
None yet
Development

No branches or pull requests

3 participants