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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate the incompatible forbid lint in algebra #746

Closed
wants to merge 1 commit into from

Conversation

clearloop
Copy link

  • Tag the PR with wip while in development.
  • Assign yourself as to the PR
  • Assign relevant labels such as bug, enhancement.
  • Request reviews if the PR is large, complex or you would like an extra pair of eyes to go over it.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the Changelog.md.
  • Update version numbers as needed.

Semver: https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md

https://semver.org/


 饾澓 rustc --version
rustc 1.50.0-nightly (c919f490b 2020-11-17)
 饾澓 cargo build
   Compiling zkp-u256 v0.2.0
error[E0453]: warn(unsafe_code) incompatible with previous forbid in same scope
  --> /Users/mercury/.cargo/registry/src/github.com-1ecc6299db9ec823/zkp-u256-0.2.0/src/lib.rs:35:5
   |
6  | #![forbid(unsafe_code)]
   |           ----------- `forbid` level set here
...
35 |     unsafe_code,
   |     ^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0453`.
error: could not compile `zkp-u256`

To learn more, run the command again with --verbose.

@clearloop clearloop closed this Dec 3, 2020
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

Successfully merging this pull request may close these issues.

None yet

1 participant