Deny clippy::redundant_slicing #993
Annotations
10 warnings
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro-error-1.0.4/src/lib.rs#L472
warning: panic message is not a string literal
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro-error-1.0.4/src/lib.rs:472:12
|
472 | panic!(AbortNow)
| ------ ^^^^^^^^
| |
| help: use std::panic::panic_any instead: `std::panic::panic_any`
|
= note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
= note: `#[warn(non_fmt_panics)]` on by default
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.7.3/src/ast/parse.rs#L386
warning: call to `.borrow()` on a reference in this situation does nothing
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.7.3/src/ast/parse.rs:386:21
|
386 | self.pattern.borrow()
| ^^^^^^^^^ help: remove this redundant call
|
= note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed
= note: `#[warn(noop_method_call)]` on by default
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/implicit.rs#L17
warning: unused import: `removed_by_x9`
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/implicit.rs:17:41
|
17 | use super::prepare::{not_removed_by_x9, removed_by_x9, IsolatingRunSequence};
| ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/prepare.rs#L170
warning: method `text_range` is never used
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/prepare.rs:170:19
|
168 | impl IsolatingRunSequence {
| ------------------------- method in this implementation
169 | /// Returns the full range of text represented by this isolating run sequence
170 | pub(crate) fn text_range(&self) -> Range<usize> {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32fast-1.3.2/src/specialized/pclmulqdq.rs#L147
warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32fast-1.3.2/src/specialized/pclmulqdq.rs:147:5
|
147 | drop(K6);
| ^^^^^--^
| |
| argument has type `i64`
|
= note: use `let _ = ...` to ignore the expression or result
= note: `#[warn(dropping_copy_types)]` on by default
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs#L1
warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs:1:52
|
1 | use libc::{c_char, c_int, c_void, size_t, ssize_t, uint32_t};
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs#L26
warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs:26:23
|
26 | position: uint32_t,
| ^^^^^^^^
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs#L46
warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs:46:23
|
46 | position: uint32_t,
| ^^^^^^^^
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs#L82
warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs:82:23
|
82 | position: uint32_t,
| ^^^^^^^^
|
Run kristof-mattei/clippy-check@9615027d0d038d93ede0037e3629366a5ba2ecf8:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs#L102
warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead.
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xattr-0.2.3/src/sys/linux_macos/macos.rs:102:23
|
102 | position: uint32_t,
| ^^^^^^^^
|
The logs for this run have expired and are no longer available.
Loading