Skip to content

halo2_poseidon: Refactor code so it compiles in its new crate #977

halo2_poseidon: Refactor code so it compiles in its new crate

halo2_poseidon: Refactor code so it compiles in its new crate #977

GitHub Actions / Clippy (MSRV) failed Dec 16, 2024 in 0s

Clippy (MSRV)

2 errors

Details

Results

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

Versions

  • rustc 1.60.0 (7737e0b5c 2022-04-04)
  • cargo 1.60.0 (d1fd9fe 2022-03-01)
  • clippy 0.1.60 (7737e0b 2022-04-04)

Annotations

Check failure on line 256 in halo2_poseidon/src/lib.rs

See this annotation in the file changed.

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

this returns a `Result<_, ()>`

error: this returns a `Result<_, ()>`
   --> halo2_poseidon/src/lib.rs:256:5
    |
256 |     pub fn squeeze(&mut self) -> Result<F, ()> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D clippy::result-unit-err` implied by `-D warnings`
    = help: use a custom `Error` type instead
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err

Check failure on line 256 in halo2_poseidon/src/lib.rs

See this annotation in the file changed.

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

this returns a `Result<_, ()>`

error: this returns a `Result<_, ()>`
   --> halo2_poseidon/src/lib.rs:256:5
    |
256 |     pub fn squeeze(&mut self) -> Result<F, ()> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `-D clippy::result-unit-err` implied by `-D warnings`
    = help: use a custom `Error` type instead
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err