Skip to content

Lua refactor

Lua refactor #345

GitHub Actions / clippy failed Mar 3, 2025 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

game/src/vg_ui.rs|625 col 9| error: redundant redefinition of a binding name
--> game/src/vg_ui.rs:625:9
|
625 | let name = name;
| ^^^^^^^^^^^^^^^^
|
help: name is initially defined here
--> game/src/vg_ui.rs:620:9
|
620 | name: String,
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals
= note: #[deny(clippy::redundant_locals)] on by default
game/src/vg_ui.rs|651 col 9| error: redundant redefinition of a binding name
--> game/src/vg_ui.rs:651:9
|
651 | let name = name;
| ^^^^^^^^^^^^^^^^
|
help: name is initially defined here
--> game/src/vg_ui.rs:646:9
|
646 | name: String,
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals

Filtered Findings (0)

Annotations

Check failure on line 625 in game/src/vg_ui.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] game/src/vg_ui.rs#L625

error: redundant redefinition of a binding `name`
   --> game/src/vg_ui.rs:625:9
    |
625 |         let name = name;
    |         ^^^^^^^^^^^^^^^^
    |
help: `name` is initially defined here
   --> game/src/vg_ui.rs:620:9
    |
620 |         name: String,
    |         ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals
    = note: `#[deny(clippy::redundant_locals)]` on by default
Raw output
game/src/vg_ui.rs:625:9:e:error: redundant redefinition of a binding `name`
   --> game/src/vg_ui.rs:625:9
    |
625 |         let name = name;
    |         ^^^^^^^^^^^^^^^^
    |
help: `name` is initially defined here
   --> game/src/vg_ui.rs:620:9
    |
620 |         name: String,
    |         ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals
    = note: `#[deny(clippy::redundant_locals)]` on by default


__END__

Check failure on line 651 in game/src/vg_ui.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] game/src/vg_ui.rs#L651

error: redundant redefinition of a binding `name`
   --> game/src/vg_ui.rs:651:9
    |
651 |         let name = name;
    |         ^^^^^^^^^^^^^^^^
    |
help: `name` is initially defined here
   --> game/src/vg_ui.rs:646:9
    |
646 |         name: String,
    |         ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals
Raw output
game/src/vg_ui.rs:651:9:e:error: redundant redefinition of a binding `name`
   --> game/src/vg_ui.rs:651:9
    |
651 |         let name = name;
    |         ^^^^^^^^^^^^^^^^
    |
help: `name` is initially defined here
   --> game/src/vg_ui.rs:646:9
    |
646 |         name: String,
    |         ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals


__END__