Re-format update runtime selection #78
clippy
1 error, 5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0-nightly (c9f8f3438 2024-03-27)
- cargo 1.79.0-nightly (499a61ce7 2024-03-26)
- clippy 0.1.79 (c9f8f34 2024-03-27)
Annotations
Check warning on line 28 in src/x86/avx512.rs
github-actions / clippy
unused variable: `data`
warning: unused variable: `data`
--> src/x86/avx512.rs:28:40
|
28 | pub unsafe fn update(a: u16, b: u16, data: &[u8]) -> (u16, u16) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
Check warning on line 28 in src/x86/avx512.rs
github-actions / clippy
unused variable: `b`
warning: unused variable: `b`
--> src/x86/avx512.rs:28:32
|
28 | pub unsafe fn update(a: u16, b: u16, data: &[u8]) -> (u16, u16) {
| ^ help: if this is intentional, prefix it with an underscore: `_b`
Check warning on line 28 in src/x86/avx512.rs
github-actions / clippy
unused variable: `a`
warning: unused variable: `a`
--> src/x86/avx512.rs:28:24
|
28 | pub unsafe fn update(a: u16, b: u16, data: &[u8]) -> (u16, u16) {
| ^ help: if this is intentional, prefix it with an underscore: `_a`
|
= note: `#[warn(unused_variables)]` on by default
Check failure on line 80 in src/lib.rs
github-actions / clippy
unknown feature `stdsimd`
error[E0635]: unknown feature `stdsimd`
--> src/lib.rs:80:42
|
80 | #![cfg_attr(feature = "nightly", feature(stdsimd, avx512_target_feature))]
| ^^^^^^^
Check warning on line 253 in src/lib.rs
github-actions / clippy
item has both inner and outer attributes
warning: item has both inner and outer attributes
--> src/lib.rs:237:1
|
237 | / #[cfg(feature = "std")]
238 | | pub mod bufread {
239 | | //! BufRead-based hashing.
240 | | //!
... |
252 | | //! println!("{}", hash) // 800813569
253 | | //! ```
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
Check warning on line 205 in src/lib.rs
github-actions / clippy
item has both inner and outer attributes
warning: item has both inner and outer attributes
--> src/lib.rs:192:1
|
192 | / #[cfg(feature = "std")]
193 | | pub mod read {
194 | | //! Reader-based hashing.
195 | | //!
... |
204 | | //! println!("{}", hash) // 800813569
205 | | //! ```
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
= note: `#[warn(clippy::mixed_attributes_style)]` on by default