Election-Tech-Initiative / Election-Tech-Initiative/electionguard-verifier

Compiler warning in src/main.rs

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
44
Forks
22
PR merge metrics
No merged PRs in 30d

Description

## Generic Issue

- [x] 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

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.