Task #64824 - added.err
back to task #64824download
Error: CLIPPY_WARNING:
crates/lib/src/parsers/grub_menuconfig.rs:29:13: warning: variables can be used directly in the `format!` string
# |
# 29 | writeln!(f, "insmod {}", insmod)?;
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
# help: change this to
# |
# 29 - writeln!(f, "insmod {}", insmod)?;
# 29 + writeln!(f, "insmod {insmod}")?;
# |
Error: CLIPPY_WARNING:
crates/lib/src/parsers/grub_menuconfig.rs:33:13: warning: variables can be used directly in the `format!` string
# |
# 33 | writeln!(f, "search {}", search)?;
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
# help: change this to
# |
# 33 - writeln!(f, "search {}", search)?;
# 33 + writeln!(f, "search {search}")?;
# |
Error: CLIPPY_WARNING:
crates/lib/src/parsers/grub_menuconfig.rs:37:13: warning: variables can be used directly in the `format!` string
# |
# 37 | writeln!(f, "chainloader {}", chainloader)?;
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
# help: change this to
# |
# 37 - writeln!(f, "chainloader {}", chainloader)?;
# 37 + writeln!(f, "chainloader {chainloader}")?;
# |
Error: CLIPPY_WARNING:
crates/lib/src/parsers/grub_menuconfig.rs:105:22: warning: redundant guard
# |
# 105 | c if c == '\\' => {
# | ^^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
# = note: `#[warn(clippy::redundant_guards)]` on by default
# help: try
# |
# 105 - c if c == '\\' => {
# 105 + '\\' => {
# |