Ignore clippy::out_of_bounds_indexing error (#252) #156
GitHub Actions / clippy
succeeded
Jan 8, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0-nightly (75c68cfd2 2024-01-07)
- cargo 1.77.0-nightly (2ce45605d 2024-01-04)
- clippy 0.1.77 (75c68cf 2024-01-07)
Annotations
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