Update to latest nightly #14
Annotations
83 warnings
method `title` is never used:
frontend/desktop/src/ui.rs#L736
warning: method `title` is never used
--> frontend/desktop/src/ui.rs:736:8
|
255 | impl UiState {
| ------------ method in this implementation
...
736 | fn title(&self, components: TitleComponents) -> String {
| ^^^^^
|
struct `Dldi` is never constructed:
frontend/desktop/src/emu.rs#L122
warning: struct `Dldi` is never constructed
--> frontend/desktop/src/emu.rs:122:12
|
122 | pub struct Dldi {
| ^^^^
|
method `system_title_bar_hidden` is never used:
frontend/desktop/src/config.rs#L363
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
|
unused variable: `window`:
frontend/desktop/src/ui.rs#L769
warning: unused variable: `window`
--> frontend/desktop/src/ui.rs:769:53
|
769 | fn update_title(&self, config: &config::Config, window: &window::Window) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
|
unused variable: `config`:
frontend/desktop/src/ui.rs#L769
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`
|
unused variable: `window`:
frontend/desktop/src/ui.rs#L723
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
|
unused import: `TitleBarMode`:
frontend/desktop/src/ui.rs#L19
warning: unused import: `TitleBarMode`
--> frontend/desktop/src/ui.rs:19:60
|
19 | config::{self, Launch, Renderer2dKind, Renderer3dKind, TitleBarMode},
| ^^^^^^^^^^^^
|
unused imports: `HasWindowHandle`, `RawWindowHandle`:
frontend/desktop/src/ui/window.rs#L20
warning: unused imports: `HasWindowHandle`, `RawWindowHandle`
--> frontend/desktop/src/ui/window.rs:20:25
|
20 | raw_window_handle::{HasWindowHandle, RawWindowHandle},
| ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
|
unused import: `TitleBarMode`:
frontend/desktop/src/ui/config_editor.rs#L121
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
|
unused variable: `zero`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L163
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
|
unused imports: `mem::transmute`, `simd::u64x4`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L5
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
|
returning the result of a `let` binding from a block:
core/src/gpu/engine_3d.rs#L587
warning: returning the result of a `let` binding from a block
--> core/src/gpu/engine_3d.rs:587:9
|
580 | let result = CMD_PARAMS[command as usize];
| ------------------------------------------ unnecessary `let` binding
...
587 | result
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
580 ~
581 | #[cfg(feature = "log")]
...
586 | }
587 ~ CMD_PARAMS[command as usize]
|
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L422
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:422:28
|
422 | pub(crate) fn write_32<A: AccessType, E: cpu::Engine>(
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L305
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:305:28
|
305 | pub(crate) fn write_16<A: AccessType, E: cpu::Engine>(
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L146
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:146:27
|
146 | pub(crate) fn write_8<A: AccessType, E: cpu::Engine>(emu: &mut Emu<E>, addr: u16, value: u8) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L115
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:115:26
|
115 | pub(crate) fn read_32<A: AccessType>(&mut self, addr: u16) -> u32 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L75
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:75:26
|
75 | pub(crate) fn read_16<A: AccessType>(&mut self, addr: u16) -> u16 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L30
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:30:25
|
30 | pub(crate) fn read_8<A: AccessType>(&mut self, addr: u16) -> u8 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L314
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:314:27
|
314 | pub(crate) fn write_32<A: AccessType>(&mut self, addr: u32, value: u32) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L204
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:204:27
|
204 | pub(crate) fn write_16<A: AccessType>(&mut self, addr: u32, value: u16) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L88
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:88:26
|
88 | pub(crate) fn write_8<A: AccessType>(&mut self, addr: u32, value: u8) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L63
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:63:26
|
63 | pub(crate) fn read_32<A: AccessType>(&mut self, addr: u32) -> u32 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L37
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:37:26
|
37 | pub(crate) fn read_16<A: AccessType>(&mut self, addr: u32) -> u16 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L8
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:8:25
|
8 | pub(crate) fn read_8<A: AccessType>(&mut self, addr: u32) -> u8 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L335
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:335:27
|
335 | pub(crate) fn write_32<A: AccessType>(&mut self, addr: u32, value: u32) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L256
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:256:27
|
256 | pub(crate) fn write_16<A: AccessType>(&mut self, addr: u32, value: u16) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L125
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:125:26
|
125 | pub(crate) fn write_8<A: AccessType>(&mut self, addr: u32, value: u8) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L94
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:94:26
|
94 | pub(crate) fn read_32<A: AccessType>(&mut self, addr: u32) -> u32 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L54
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:54:26
|
54 | pub(crate) fn read_16<A: AccessType>(&mut self, addr: u32) -> u16 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L5
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:5:25
|
5 | pub(crate) fn read_8<A: AccessType>(&mut self, addr: u32) -> u8 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
method `title` is never used:
frontend/desktop/src/ui.rs#L736
warning: method `title` is never used
--> frontend/desktop/src/ui.rs:736:8
|
255 | impl UiState {
| ------------ method in this implementation
...
736 | fn title(&self, components: TitleComponents) -> String {
| ^^^^^
|
method `send_notif` is never used:
frontend/desktop/src/emu/gdb_server.rs#L258
warning: method `send_notif` is never used
--> frontend/desktop/src/emu/gdb_server.rs:258:8
|
145 | impl GdbServer {
| -------------- method in this implementation
...
258 | fn send_notif(&mut self, data: Vec<u8>) {
| ^^^^^^^^^^
|
variant `Syscall` is never constructed:
frontend/desktop/src/emu/gdb_server.rs#L78
warning: variant `Syscall` is never constructed
--> frontend/desktop/src/emu/gdb_server.rs:78:5
|
76 | enum StopCause {
| --------- variant in this enum
77 | Break, // Signal 0x00 (None)
78 | Syscall(u8, Core), // Signal 0x05 (SIGTRAP), syscall_entry
| ^^^^^^^
|
= note: `StopCause` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
|
method `system_title_bar_hidden` is never used:
frontend/desktop/src/config.rs#L363
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
|
unused variable: `window`:
frontend/desktop/src/ui.rs#L769
warning: unused variable: `window`
--> frontend/desktop/src/ui.rs:769:53
|
769 | fn update_title(&self, config: &config::Config, window: &window::Window) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
|
unused variable: `config`:
frontend/desktop/src/ui.rs#L769
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`
|
unused variable: `window`:
frontend/desktop/src/ui.rs#L723
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
|
unused import: `TitleBarMode`:
frontend/desktop/src/ui.rs#L19
warning: unused import: `TitleBarMode`
--> frontend/desktop/src/ui.rs:19:60
|
19 | config::{self, Launch, Renderer2dKind, Renderer3dKind, TitleBarMode},
| ^^^^^^^^^^^^
|
unused imports: `HasWindowHandle`, `RawWindowHandle`:
frontend/desktop/src/ui/window.rs#L20
warning: unused imports: `HasWindowHandle`, `RawWindowHandle`
--> frontend/desktop/src/ui/window.rs:20:25
|
20 | raw_window_handle::{HasWindowHandle, RawWindowHandle},
| ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
|
unused import: `TitleBarMode`:
frontend/desktop/src/ui/config_editor.rs#L121
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
|
unused variable: `zero`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L163
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
|
unused imports: `mem::transmute`, `simd::u64x4`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L5
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
|
struct `Dldi` is never constructed:
frontend/desktop/src/emu.rs#L122
warning: struct `Dldi` is never constructed
--> frontend/desktop/src/emu.rs:122:12
|
122 | pub struct Dldi {
| ^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused variable: `zero`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L163
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
|
unused imports: `mem::transmute`, `simd::u64x4`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L5
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
|
returning the result of a `let` binding from a block:
core/src/gpu/engine_3d.rs#L587
warning: returning the result of a `let` binding from a block
--> core/src/gpu/engine_3d.rs:587:9
|
580 | let result = CMD_PARAMS[command as usize];
| ------------------------------------------ unnecessary `let` binding
...
587 | result
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
580 ~
581 | #[cfg(feature = "log")]
...
586 | }
587 ~ CMD_PARAMS[command as usize]
|
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L422
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:422:28
|
422 | pub(crate) fn write_32<A: AccessType, E: cpu::Engine>(
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L305
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:305:28
|
305 | pub(crate) fn write_16<A: AccessType, E: cpu::Engine>(
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L146
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:146:27
|
146 | pub(crate) fn write_8<A: AccessType, E: cpu::Engine>(emu: &mut Emu<E>, addr: u16, value: u8) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L115
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:115:26
|
115 | pub(crate) fn read_32<A: AccessType>(&mut self, addr: u16) -> u32 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L75
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:75:26
|
75 | pub(crate) fn read_16<A: AccessType>(&mut self, addr: u16) -> u16 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_3d/io.rs#L30
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_3d/io.rs:30:25
|
30 | pub(crate) fn read_8<A: AccessType>(&mut self, addr: u16) -> u8 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L314
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:314:27
|
314 | pub(crate) fn write_32<A: AccessType>(&mut self, addr: u32, value: u32) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L204
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:204:27
|
204 | pub(crate) fn write_16<A: AccessType>(&mut self, addr: u32, value: u16) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L88
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:88:26
|
88 | pub(crate) fn write_8<A: AccessType>(&mut self, addr: u32, value: u8) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L63
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:63:26
|
63 | pub(crate) fn read_32<A: AccessType>(&mut self, addr: u32) -> u32 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L37
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:37:26
|
37 | pub(crate) fn read_16<A: AccessType>(&mut self, addr: u32) -> u16 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/gpu/engine_2d/io.rs#L8
warning: type parameter `A` goes unused in function definition
--> core/src/gpu/engine_2d/io.rs:8:25
|
8 | pub(crate) fn read_8<A: AccessType>(&mut self, addr: u32) -> u8 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L335
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:335:27
|
335 | pub(crate) fn write_32<A: AccessType>(&mut self, addr: u32, value: u32) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L256
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:256:27
|
256 | pub(crate) fn write_16<A: AccessType>(&mut self, addr: u32, value: u16) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L125
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:125:26
|
125 | pub(crate) fn write_8<A: AccessType>(&mut self, addr: u32, value: u8) {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L94
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:94:26
|
94 | pub(crate) fn read_32<A: AccessType>(&mut self, addr: u32) -> u32 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L54
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:54:26
|
54 | pub(crate) fn read_16<A: AccessType>(&mut self, addr: u32) -> u16 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
|
type parameter `A` goes unused in function definition:
core/src/audio/io.rs#L5
warning: type parameter `A` goes unused in function definition
--> core/src/audio/io.rs:5:25
|
5 | pub(crate) fn read_8<A: AccessType>(&mut self, addr: u32) -> u8 {
| ^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
method `send_notif` is never used:
frontend/desktop/src/emu/gdb_server.rs#L258
warning: method `send_notif` is never used
--> frontend/desktop/src/emu/gdb_server.rs:258:8
|
145 | impl GdbServer {
| -------------- method in this implementation
...
258 | fn send_notif(&mut self, data: Vec<u8>) {
| ^^^^^^^^^^
|
variant `Syscall` is never constructed:
frontend/desktop/src/emu/gdb_server.rs#L78
warning: variant `Syscall` is never constructed
--> frontend/desktop/src/emu/gdb_server.rs:78:5
|
76 | enum StopCause {
| --------- variant in this enum
77 | Break, // Signal 0x00 (None)
78 | Syscall(u8, Core), // Signal 0x05 (SIGTRAP), syscall_entry
| ^^^^^^^
|
= note: `StopCause` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
unused variable: `zero`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L163
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
|
unused imports: `mem::transmute`, `simd::u64x4`:
render/wgpu-2d/src/common/render/bgs/avx2.rs#L5
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
|
Run Clippy and test (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Clippy and test (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Clippy and test (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Clippy and test (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run Clippy and test (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|