Re-structure architecture specific implementations #79
GitHub Actions / clippy
failed
Mar 29, 2024 in 0s
clippy
1 error, 2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 2 |
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 failure on line 146 in src/arch/x86/avx512.rs
github-actions / clippy
failed to resolve: unresolved import
error[E0433]: failed to resolve: unresolved import
--> src/arch/x86/avx512.rs:146:44
|
146 | let hi = _mm_shuffle_epi32(sum, crate::x86::_mm_shuffle(2, 3, 0, 1));
| ^^^ unresolved import
|
help: a similar path exists
|
146 | let hi = _mm_shuffle_epi32(sum, crate::crate::arch::x86::_mm_shuffle(2, 3, 0, 1));
| ~~~~~~~~~~~~~~~~
help: consider importing this module
|
35 + use crate::arch::x86;
|
help: if you import `x86`, refer to it directly
|
146 - let hi = _mm_shuffle_epi32(sum, crate::x86::_mm_shuffle(2, 3, 0, 1));
146 + let hi = _mm_shuffle_epi32(sum, x86::_mm_shuffle(2, 3, 0, 1));
|
Check warning on line 251 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:235:1
|
235 | / #[cfg(feature = "std")]
236 | | pub mod bufread {
237 | | //! BufRead-based hashing.
238 | | //!
... |
250 | | //! println!("{}", hash) // 800813569
251 | | //! ```
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
Check warning on line 203 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:190:1
|
190 | / #[cfg(feature = "std")]
191 | | pub mod read {
192 | | //! Reader-based hashing.
193 | | //!
... |
202 | | //! println!("{}", hash) // 800813569
203 | | //! ```
| |_________^
|
= 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
Loading