Lint clippy::similar_names
warning clippy::similar_names §
warning clippy::similar_names §
Targets (1)
cargo-clippy-html (bin)
Primary: src/render/suggestions.rs:210:17
Primary: src/render/suggestions.rs:207:14
note: existing binding defined here
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.100.0/index.html#similar_names
note: `-W clippy::similar-names` implied by `-W clippy::pedantic`
help: to override `-W clippy::pedantic` add `#[allow(clippy::similar_names)]`
Rendered diagnostic (text)
warning: binding's name is too similar to existing binding
--> src/render/suggestions.rs:210:17
|
210 | let path = temp.path().join(name);
| ^^^^
|
note: existing binding defined here
--> src/render/suggestions.rs:207:14
|
207 | fn apply(patch: &str, files: &[(&str, &str, &str)]) {
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.100.0/index.html#similar_names
= note: `-W clippy::similar-names` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::similar_names)]`
warning clippy::similar_names §
warning clippy::similar_names §
Targets (1)
cargo-clippy-html (bin)
Primary: src/render/suggestions.rs:269:17
Primary: src/render/suggestions.rs:266:17
note: existing binding defined here
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.100.0/index.html#similar_names
Rendered diagnostic (text)
warning: binding's name is too similar to existing binding
--> src/render/suggestions.rs:269:17
|
269 | let patch = build_patch(&s, &BTreeMap::from([(path, source(before))]), root).unwrap();
| ^^^^^
|
note: existing binding defined here
--> src/render/suggestions.rs:266:17
|
266 | let path = root.join("test.rs");
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.100.0/index.html#similar_names
warning clippy::similar_names §
warning clippy::similar_names §
Targets (1)
cargo-clippy-html (bin)
Primary: src/render/suggestions.rs:334:13
Primary: src/render/suggestions.rs:323:13
note: existing binding defined here
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.100.0/index.html#similar_names
Rendered diagnostic (text)
warning: binding's name is too similar to existing binding
--> src/render/suggestions.rs:334:13
|
334 | let patch = build_patch(&s, &BTreeMap::from([(path, source(&before))]), root).unwrap();
| ^^^^^
|
note: existing binding defined here
--> src/render/suggestions.rs:323:13
|
323 | let path = root.join("a.rs");
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.100.0/index.html#similar_names