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

Compiler warning in src/main.rs #11

Open
1 task done
spencerwilson opened this issue Jan 27, 2022 · 0 comments · May be fixed by #12
Open
1 task done

Compiler warning in src/main.rs #11

spencerwilson opened this issue Jan 27, 2022 · 0 comments · May be fixed by #12

Comments

@spencerwilson
Copy link

Generic Issue

  • Ensure this issue is not a bug report or feature request

Description
The following appears using rustc 1.58.1:

% cargo check
warning: derive helper attribute is used before it is introduced
  --> src/main.rs:9:3
   |
9  | #[structopt(
   |   ^^^^^^^^^
...
13 | #[derive(StructOpt)]
   |          --------- the attribute is introduced here
   |
   = note: `#[warn(legacy_derive_helpers)]` on by default
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>

warning: `electionguard_verify` (bin "verify") generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s

Possible Solution

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

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 a pull request may close this issue.

1 participant