Fix 1.48 check #123
GitHub Actions / clippy
succeeded
Aug 12, 2023 in 0s
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.48.0 (7eac88abb 2020-11-16)
- cargo 1.48.0 (65cbdd2dc 2020-10-14)
- clippy 0.0.212 (7eac88a 2020-11-16)
Annotations
Check warning on line 387 in src/types.rs
github-actions / clippy
unknown clippy lint: clippy::result_unit_err
warning: unknown clippy lint: clippy::result_unit_err
--> src/types.rs:387:13
|
387 | #[allow(clippy::result_unit_err)]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::result_map_unit_fn`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
Check warning on line 11 in src/sys/mod.rs
github-actions / clippy
unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type
warning: unknown clippy lint: clippy::incorrect_clone_impl_on_copy_type
--> src/sys/mod.rs:11:5
|
11 | clippy::incorrect_clone_impl_on_copy_type
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::unknown_clippy_lints)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
Check warning on line 46 in src/sys/sys.rs
github-actions / clippy
transmute from a reference to a reference
warning: transmute from a reference to a reference
--> src/sys/sys.rs:46:9
|
46 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(self as *mut sys::__BindgenUnionField<T> as *mut T)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
Check warning on line 42 in src/sys/sys.rs
github-actions / clippy
transmute from a reference to a reference
warning: transmute from a reference to a reference
--> src/sys/sys.rs:42:9
|
42 | ::core::mem::transmute(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(self as *const sys::__BindgenUnionField<T> as *const T)`
|
= note: `#[warn(clippy::transmute_ptr_to_ptr)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
Loading