Skip to content

Account for empty regions #4

Account for empty regions

Account for empty regions #4

GitHub Actions / Clippy (1.56.1) failed Mar 29, 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.67.0 (fc594f156 2023-01-24)
  • cargo 1.67.0 (8ecd4f20a 2023-01-10)
  • clippy 0.1.67 (fc594f1 2023-01-24)

Annotations

Check failure on line 369 in halo2_proofs/src/dev/cost_model.rs

See this annotation in the file changed.

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

manual implementation of an assign operation

error: manual implementation of an assign operation
   --> halo2_proofs/src/dev/cost_model.rs:369:21
    |
369 |                     expanded_rows_count = expanded_rows_count + ((end - start) + 1);
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `expanded_rows_count += ((end - start) + 1)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
    = note: `-D clippy::assign-op-pattern` implied by `-D warnings`

Check failure on line 369 in halo2_proofs/src/dev/cost_model.rs

See this annotation in the file changed.

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

manual implementation of an assign operation

error: manual implementation of an assign operation
   --> halo2_proofs/src/dev/cost_model.rs:369:21
    |
369 |                     expanded_rows_count = expanded_rows_count + ((end - start) + 1);
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `expanded_rows_count += ((end - start) + 1)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
    = note: `-D clippy::assign-op-pattern` implied by `-D warnings`