Add Keys
sync message
#967
GitHub Actions / clippy
failed
Oct 3, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check failure on line 58 in libsignal-service/src/master_key.rs
github-actions / clippy
no method named `as_slice` found for reference `&[u8]` in the current scope
error[E0599]: no method named `as_slice` found for reference `&[u8]` in the current scope
--> libsignal-service/src/master_key.rs:58:27
|
58 | let inner = slice.as_slice().try_into()?;
| ^^^^^^^^
|
= help: items from traits can only be used if the trait is in scope
help: there is a method `slice` with a similar name, but with different arguments
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/traits.rs:1008:3
|
1008 | fn slice(&self, range: R) -> Self;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: trait `SlicePattern` which provides `as_slice` is implemented but not in scope; perhaps you want to import it
|
1 + use core::slice::SlicePattern;
|
Check failure on line 23 in libsignal-service/src/master_key.rs
github-actions / clippy
no method named `as_slice` found for reference `&[u8]` in the current scope
error[E0599]: no method named `as_slice` found for reference `&[u8]` in the current scope
--> libsignal-service/src/master_key.rs:23:27
|
23 | let inner = slice.as_slice().try_into()?;
| ^^^^^^^^
|
= help: items from traits can only be used if the trait is in scope
help: there is a method `slice` with a similar name, but with different arguments
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/traits.rs:1008:3
|
1008 | fn slice(&self, range: R) -> Self;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: trait `SlicePattern` which provides `as_slice` is implemented but not in scope; perhaps you want to import it
|
1 + use core::slice::SlicePattern;
|
Loading