Skip to content

add test for backward compatibility

Sign in for the full log view
GitHub Actions / Clippy (MSRV) failed Mar 24, 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 517 in halo2_gadgets/src/utilities/lookup_range_check.rs

See this annotation in the file changed.

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

constant `enable_backward_compatibility` should have an upper case name

error: constant `enable_backward_compatibility` should have an upper case name
   --> halo2_gadgets/src/utilities/lookup_range_check.rs:517:15
    |
517 |     pub const enable_backward_compatibility: bool = false;
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENABLE_BACKWARD_COMPATIBILITY`
    |
    = note: `-D non-upper-case-globals` implied by `-D warnings`

Check failure on line 510 in halo2_gadgets/src/utilities/lookup_range_check.rs

See this annotation in the file changed.

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

unused import: `vesta`

error: unused import: `vesta`
   --> halo2_gadgets/src/utilities/lookup_range_check.rs:510:32
    |
510 |     use pasta_curves::{pallas, vesta};
    |                                ^^^^^
    |
    = note: `-D unused-imports` implied by `-D warnings`