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

project 3.2: edition2021 bug #7

Open
pnkfelix opened this issue Aug 5, 2021 · 0 comments
Open

project 3.2: edition2021 bug #7

pnkfelix opened this issue Aug 5, 2021 · 0 comments

Comments

@pnkfelix
Copy link
Contributor

pnkfelix commented Aug 5, 2021

Was walking through project 03.02 and hit this:

(.venv) Admin:~/environment/Lesson03/project02 (master) $ cargo +nightly build --release --out-dir=./my-example-function/out -Z unstable-options --manifest-path ./my-example-function/Cargo.toml
error: failed to parse manifest at `/home/ec2-user/environment/Lesson03/project02/my-example-function/Cargo.toml`

Caused by:
  feature `edition2021` is required

  The package requires the Cargo feature called `edition2021`, but that feature is not stabilized in this version of Cargo (1.56.0-nightly (cc17afbb0 2021-08-02)).
  Consider adding `cargo-features = ["edition2021"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2021 for more information about the status of this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant