GitHub Actions / clippy
failed
Oct 25, 2023 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-nightly (df871fbf0 2023-10-24)
- cargo 1.75.0-nightly (d2f6a0485 2023-10-20)
- clippy 0.1.75 (df871fb 2023-10-24)
Annotations
Check failure on line 37 in cosmos_core/src/structure/ship/build_mode.rs
github-actions / clippy
use of `default` to create a unit struct
error: use of `default` to create a unit struct
--> cosmos_core/src/structure/ship/build_mode.rs:37:30
|
37 | .insert(BuildMode::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 warnings`
= help: to override `-D warnings` add `#[allow(clippy::default_constructed_unit_structs)]`
Loading