Skip to content

Commit 44551ca

Browse files
committed
Ignore similar_names pedantic clippy lint
warning: binding's name is too similar to existing binding --> macro/src/expand.rs:615:13 | 615 | let self_gt_token; | ^^^^^^^^^^^^^ | note: existing binding defined here --> macro/src/expand.rs:614:13 | 614 | let self_lt_token; | ^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/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: binding's name is too similar to existing binding --> macro/src/expand.rs:647:17 | 647 | let impl_gt_token = efn.generics.gt_token; | ^^^^^^^^^^^^^ | note: existing binding defined here --> macro/src/expand.rs:646:17 | 646 | let impl_lt_token = efn.generics.lt_token; | ^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names
1 parent 254d2d4 commit 44551ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

macro/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
clippy::nonminimal_bool,
1414
clippy::redundant_else,
1515
clippy::ref_option,
16+
clippy::similar_names,
1617
clippy::single_match_else,
1718
clippy::struct_field_names,
1819
clippy::too_many_arguments,

0 commit comments

Comments
 (0)