Update workflows, add macOS AArch64 build #18
Annotations
66 warnings
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: `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]
|
|
unused `self` argument:
core/src/gpu/engine_3d.rs#L579
warning: unused `self` argument
--> core/src/gpu/engine_3d.rs:579:27
|
579 | fn params_for_command(&self, command: u8) -> u8 {
| ^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
|
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
|
unused `self` argument:
core/src/audio/channel.rs#L339
warning: unused `self` argument
--> core/src/audio/channel.rs:339:25
|
339 | fn keep_last_sample(&mut self) {
| ^^^^^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
|
unused `self` argument:
core/src/audio/channel.rs#L258
warning: unused `self` argument
--> core/src/audio/channel.rs:258:25
|
258 | fn check_total_size(&self) {
| ^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
|
unused `self` argument:
core/src/audio/channel.rs#L250
warning: unused `self` argument
--> core/src/audio/channel.rs:250:25
|
250 | fn check_loop_start(&self) {
| ^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
note: the lint level is defined here
--> core/src/lib.rs:11:9
|
11 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::unused_self)]` implied by `#[warn(clippy::pedantic)]`
|
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: `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
|
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]
|
|
unused `self` argument:
core/src/gpu/engine_3d.rs#L579
warning: unused `self` argument
--> core/src/gpu/engine_3d.rs:579:27
|
579 | fn params_for_command(&self, command: u8) -> u8 {
| ^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
|
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
|
unused `self` argument:
core/src/audio/channel.rs#L339
warning: unused `self` argument
--> core/src/audio/channel.rs:339:25
|
339 | fn keep_last_sample(&mut self) {
| ^^^^^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
|
unused `self` argument:
core/src/audio/channel.rs#L258
warning: unused `self` argument
--> core/src/audio/channel.rs:258:25
|
258 | fn check_total_size(&self) {
| ^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
|
unused `self` argument:
core/src/audio/channel.rs#L250
warning: unused `self` argument
--> core/src/audio/channel.rs:250:25
|
250 | fn check_loop_start(&self) {
| ^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
note: the lint level is defined here
--> core/src/lib.rs:11:9
|
11 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::unused_self)]` implied by `#[warn(clippy::pedantic)]`
|
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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Linux
Expired
|
4.87 MB |
|
Linux-debug
Expired
|
5.54 MB |
|
Linux-debug-gdb
Expired
|
5.6 MB |
|
Windows
Expired
|
3.38 MB |
|
Windows-debug
Expired
|
3.96 MB |
|
Windows-debug-gdb
Expired
|
4.03 MB |
|
macOS-aarch64
Expired
|
2.95 MB |
|
macOS-aarch64-debug
Expired
|
3.46 MB |
|
macOS-aarch64-debug-gdb
Expired
|
3.53 MB |
|
macOS-x86_64
Expired
|
3.19 MB |
|
macOS-x86_64-debug
Expired
|
3.82 MB |
|
macOS-x86_64-debug-gdb
Expired
|
3.9 MB |
|