error: the borrowed expression implements the required traits
--> tests/data/lib.rs:36:31
|
36 | for entry in fs::read_dir(&yaml_test_suite).unwrap() {
| ^^^^^^^^^^^^^^^^ help: change this to: `yaml_test_suite`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D clippy::all`
error: the borrowed expression implements the required traits
--> tests/data/build.rs:23:43
|
23 | let response = reqwest::blocking::get(&url)?.error_for_status()?;
| ^^^^ help: change this to: `url`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D clippy::all`
error: variables can be used directly in the `format!` string
--> tests/data/build.rs:24:18
|
24 | let prefix = format!("yaml-test-suite-{}", TAG);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-D clippy::uninlined-format-args` implied by `-D clippy::pedantic`
help: change this to
|
24 - let prefix = format!("yaml-test-suite-{}", TAG);
24 + let prefix = format!("yaml-test-suite-{TAG}");
|