Skip to content

Add flags to async cancel #10

Add flags to async cancel

Add flags to async cancel #10

GitHub Actions / clippy succeeded Sep 28, 2023 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
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

See this annotation in the file changed.

@github-actions 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`
    |
    = 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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