Update base version to v0.3.0 #29
GitHub Actions / clippy
failed
Sep 27, 2024 in 1s
clippy
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check failure on line 611 in crates/types/src/hybrid_compute.rs
github-actions / clippy
used `assert_eq!` with a literal bool
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:611:9
|
611 | assert_eq!(check_trigger(&t_short), false);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
611 - assert_eq!(check_trigger(&t_short), false);
611 + assert!(!check_trigger(&t_short));
|
Check failure on line 610 in crates/types/src/hybrid_compute.rs
github-actions / clippy
used `assert_eq!` with a literal bool
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:610:9
|
610 | assert_eq!(check_trigger(&t_yes), true);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
610 - assert_eq!(check_trigger(&t_yes), true);
610 + assert!(check_trigger(&t_yes));
|
Check failure on line 609 in crates/types/src/hybrid_compute.rs
github-actions / clippy
used `assert_eq!` with a literal bool
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:609:9
|
609 | assert_eq!(check_trigger(&t_no), false);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
= note: `-D clippy::bool-assert-comparison` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::bool_assert_comparison)]`
help: replace it with `assert!(..)`
|
609 - assert_eq!(check_trigger(&t_no), false);
609 + assert!(!check_trigger(&t_no));
|
Loading