Run clippy (ubuntu-latest, all features)
8 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 8 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0-nightly (e51e98dde 2023-12-31)
- cargo 1.77.0-nightly (ac6bbb332 2023-12-26)
- clippy 0.1.77 (e51e98d 2023-12-31)
Annotations
Check warning on line 363 in frontend/desktop/src/config.rs
github-actions / Run clippy (ubuntu-latest, all features)
method `system_title_bar_hidden` is never used
warning: method `system_title_bar_hidden` is never used
--> frontend/desktop/src/config.rs:363:12
|
362 | impl TitleBarMode {
| ----------------- method in this implementation
363 | pub fn system_title_bar_hidden(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 769 in frontend/desktop/src/ui.rs
github-actions / Run clippy (ubuntu-latest, all features)
unused variable: `config`
warning: unused variable: `config`
--> frontend/desktop/src/ui.rs:769:28
|
769 | fn update_title(&self, config: &config::Config, window: &window::Window) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
Check warning on line 723 in frontend/desktop/src/ui.rs
github-actions / Run clippy (ubuntu-latest, all features)
unused variable: `window`
warning: unused variable: `window`
--> frontend/desktop/src/ui.rs:723:60
|
723 | fn update_menu_bar(&mut self, config: &config::Config, window: &mut window::Window) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 19 in frontend/desktop/src/ui.rs
github-actions / Run clippy (ubuntu-latest, all features)
unused import: `TitleBarMode`
warning: unused import: `TitleBarMode`
--> frontend/desktop/src/ui.rs:19:60
|
19 | config::{self, Launch, Renderer2dKind, Renderer3dKind, TitleBarMode},
| ^^^^^^^^^^^^
Check warning on line 20 in frontend/desktop/src/ui/window.rs
github-actions / Run clippy (ubuntu-latest, all features)
unused imports: `HasWindowHandle`, `RawWindowHandle`
warning: unused imports: `HasWindowHandle`, `RawWindowHandle`
--> frontend/desktop/src/ui/window.rs:20:25
|
20 | raw_window_handle::{HasWindowHandle, RawWindowHandle},
| ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
Check warning on line 121 in frontend/desktop/src/ui/config_editor.rs
github-actions / Run clippy (ubuntu-latest, all features)
unused import: `TitleBarMode`
warning: unused import: `TitleBarMode`
--> frontend/desktop/src/ui/config_editor.rs:121:81
|
121 | self, saves, ModelConfig, Renderer2dKind, Renderer3dKind, Setting as _, TitleBarMode,
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check warning on line 163 in render/wgpu-2d/src/common/render/bgs/avx2.rs
github-actions / Run clippy (ubuntu-latest, all features)
unused variable: `zero`
warning: unused variable: `zero`
--> render/wgpu-2d/src/common/render/bgs/avx2.rs:163:9
|
163 | let zero = _mm256_setzero_si256();
| ^^^^ help: if this is intentional, prefix it with an underscore: `_zero`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 5 in render/wgpu-2d/src/common/render/bgs/avx2.rs
github-actions / Run clippy (ubuntu-latest, all features)
unused imports: `mem::transmute`, `simd::u64x4`
warning: unused imports: `mem::transmute`, `simd::u64x4`
--> render/wgpu-2d/src/common/render/bgs/avx2.rs:5:29
|
5 | use core::{arch::x86_64::*, mem::transmute, simd::u64x4};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default