Skip to content

chore: add some test for "failure" mod #249

chore: add some test for "failure" mod

chore: add some test for "failure" mod #249

GitHub Actions / Clippy (beta) failed Aug 6, 2024 in 0s

Clippy (beta)

1 error

Details

Results

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

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check failure on line 374 in halo2_frontend/src/dev/gates.rs

See this annotation in the file changed.

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

this function takes 1 argument but 0 arguments were supplied

error[E0061]: this function takes 1 argument but 0 arguments were supplied
   --> halo2_frontend/src/dev/gates.rs:374:21
    |
374 |         let gates = CircuitGates::collect::<Fp, TestCircuit>();
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- an argument of type `()` is missing
    |
note: associated function defined here
   --> halo2_frontend/src/dev/gates.rs:106:12
    |
106 |     pub fn collect<F: PrimeField, C: Circuit<F>>(
    |            ^^^^^^^
107 |         #[cfg(feature = "circuit-params")] params: C::Params,
    |         ----------------------------------------------------
help: provide the argument
    |
374 |         let gates = CircuitGates::collect::<Fp, TestCircuit>(());
    |                                                             ~~~~