Skip to content

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

Closed
@flavv

Description

@flavv

$ cargo install rust-script
Updating crates.io index
[...]
[...]
Compiling env_logger v0.9.0
Compiling clap_derive v3.0.0-beta.5
Compiling clap v3.0.0-beta.5
error[E0658]: arbitrary expressions in key-value attributes are unstable
--> /home/flav/.cargo/registry/src/jiasu.xzqcsaa.nyc.mn-1ecc6299db9ec823/clap-3.0.0-beta.5/src/lib.rs:8:10
|
8 | #![doc = include_str!("../README.md")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #78835 rust-lang/rust#78835 for more information

error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile clap

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile rust-script v0.18.0, intermediate artifacts can be found at /tmp/cargo-installAqSpQJ

Caused by:
build failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions