Skip to content

Remove double debug server #2255

Remove double debug server

Remove double debug server #2255

GitHub Actions / clippy failed Mar 27, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 90 in vendor/rpc/trace/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `default` to create a unit struct

error: use of `default` to create a unit struct
  --> vendor/rpc/trace/src/lib.rs:90:34
   |
90 |             _phantom: PhantomData::default(),
   |                                  ^^^^^^^^^^^ help: remove this call to `default`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs

Check failure on line 69 in vendor/rpc/trace/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `default` to create a unit struct

error: use of `default` to create a unit struct
  --> vendor/rpc/trace/src/lib.rs:69:34
   |
69 |             _phantom: PhantomData::default(),
   |                                  ^^^^^^^^^^^ help: remove this call to `default`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
   = note: `-D clippy::default-constructed-unit-structs` implied by `-D clippy::complexity`