Skip to content

clippy fix

clippy fix #363

GitHub Actions / Clippy (1.56.1) failed Mar 13, 2024 in 1s

Clippy (1.56.1)

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.73.0-nightly (a6f8aa5a0 2023-08-11)
  • cargo 1.73.0-nightly (d78bbf4bd 2023-08-03)
  • clippy 0.1.73 (a6f8aa5 2023-08-11)

Annotations

Check failure on line 27 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (1.56.1)

unused import: `ff::BatchInvert`

error: unused import: `ff::BatchInvert`
  --> halo2_proofs/src/dev.rs:27:5
   |
27 | use ff::BatchInvert;
   |     ^^^^^^^^^^^^^^^
   |
   = note: `-D unused-imports` implied by `-D warnings`

Check failure on line 27 in halo2_proofs/src/dev.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (1.56.1)

the name `BatchInvert` is defined multiple times

error[E0252]: the name `BatchInvert` is defined multiple times
  --> halo2_proofs/src/dev.rs:27:5
   |
11 | use ff::BatchInvert;
   |     --------------- previous import of the trait `BatchInvert` here
...
27 | use ff::BatchInvert;
   |     ^^^^^^^^^^^^^^^ `BatchInvert` reimported here
   |
   = note: `BatchInvert` must be defined only once in the type namespace of this module