GitHub Actions / clippy
succeeded
Oct 5, 2023 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check warning on line 36 in src/seqvars/ingest/mod.rs
github-actions / clippy
use of `default` to create a unit struct
warning: use of `default` to create a unit struct
--> src/seqvars/ingest/mod.rs:36:29
|
36 | vcf::reader::Builder::default()
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
Check warning on line 49 in src/seqvars/ingest/header.rs
github-actions / clippy
unused variable: `genomebuild`
warning: unused variable: `genomebuild`
--> src/seqvars/ingest/header.rs:49:5
|
49 | genomebuild: GenomeRelease,
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genomebuild`
Check warning on line 51 in src/seqvars/ingest/header.rs
github-actions / clippy
unused variable: `variant_caller`
warning: unused variable: `variant_caller`
--> src/seqvars/ingest/header.rs:51:9
|
51 | let variant_caller = VariantCaller::guess(input_header)
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_caller`
|
= note: `#[warn(unused_variables)]` on by default
Loading