Ignore clippy::out_of_bounds_indexing error #152
GitHub Actions / clippy
failed
Jan 7, 2024 in 1s
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.77.0-nightly (b6a8c762e 2024-01-06)
- cargo 1.77.0-nightly (2ce45605d 2024-01-04)
- clippy 0.1.77 (b6a8c76 2024-01-06)
Annotations
Check failure on line 146 in src/util.rs
github-actions / clippy
index is out of bounds
error: index is out of bounds
--> src/util.rs:146:17
|
146 | None => [][1],
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing
= note: `#[deny(clippy::out_of_bounds_indexing)]` on by default
Check warning on line 88 in src/register.rs
github-actions / clippy
field `0` is never read
warning: field `0` is never read
--> src/register.rs:88:24
|
88 | pub struct Restriction(sys::io_uring_restriction);
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
88 | pub struct Restriction(());
| ~~
Check warning on line 11 in src/sys/mod.rs
github-actions / clippy
lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
warning: lint `clippy::incorrect_clone_impl_on_copy_type` has been renamed to `clippy::non_canonical_clone_impl`
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::non_canonical_clone_impl`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
Loading