Skip to content

Update bindings and move private Bridge and deprecated IrDA interface… #39

Update bindings and move private Bridge and deprecated IrDA interface…

Update bindings and move private Bridge and deprecated IrDA interface… #39

GitHub Actions / clippy failed Aug 1, 2023 in 1s

clippy

4 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 4
Warning 0
Note 0
Help 0

Versions

  • rustc 1.71.0 (8ede3aae2 2023-07-12)
  • cargo 1.71.0 (cfd3bbd8f 2023-06-08)
  • clippy 0.1.71 (8ede3aae 2023-07-12)

Annotations

Check failure on line 222 in system-configuration/src/network_reachability.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this public function might dereference a raw pointer but is not marked `unsafe`

error: this public function might dereference a raw pointer but is not marked `unsafe`
   --> system-configuration/src/network_reachability.rs:222:17
    |
222 |                 run_loop_mode,
    |                 ^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref

Check failure on line 198 in system-configuration/src/network_reachability.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this public function might dereference a raw pointer but is not marked `unsafe`

error: this public function might dereference a raw pointer but is not marked `unsafe`
   --> system-configuration/src/network_reachability.rs:198:17
    |
198 |                 run_loop_mode,
    |                 ^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
    = note: `#[deny(clippy::not_unsafe_ptr_arg_deref)]` on by default

Check failure on line 144 in system-configuration/src/network_configuration.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

statics have by default a `'static` lifetime

error: statics have by default a `'static` lifetime
   --> system-configuration/src/network_configuration.rs:144:33
    |
144 | static IRDA_INTERFACE_TYPE_ID: &'static str = "IrDA";
    |                                -^^^^^^^---- help: consider removing `'static`: `&str`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

Check failure on line 141 in system-configuration/src/network_configuration.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

statics have by default a `'static` lifetime

error: statics have by default a `'static` lifetime
   --> system-configuration/src/network_configuration.rs:141:35
    |
141 | static BRIDGE_INTERFACE_TYPE_ID: &'static str = "Bridge";
    |                                  -^^^^^^^---- help: consider removing `'static`: `&str`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
    = note: `-D clippy::redundant-static-lifetimes` implied by `-D warnings`