GitHub Actions / Clippy (1.56.1)
failed
Aug 6, 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.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 372 in halo2_frontend/src/dev/gates.rs
github-actions / Clippy (1.56.1)
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:372:21
|
372 | let gates = CircuitGates::collect::<Fp, TestCircuit>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- an argument 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
|
372 | let gates = CircuitGates::collect::<Fp, TestCircuit>(/* params */);
| ~~~~~~~~~~~~~~
Check failure on line 338 in halo2_frontend/src/dev/gates.rs
github-actions / Clippy (1.56.1)
not all trait items implemented, missing: `Params`
error[E0046]: not all trait items implemented, missing: `Params`
--> halo2_frontend/src/dev/gates.rs:338:9
|
338 | impl Circuit<Fp> for TestCircuit {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Params` in implementation
|
::: halo2_frontend/src/plonk/circuit.rs:251:5
|
251 | type Params: Default;
| -------------------- `Params` from trait
Loading