rust/clippy_lints
bors c3e913650e Auto merge of #3766 - xd009642:issue-3764, r=flip1995
trait bounds lint - repeated types

This PR is to tackle https://github.com/rust-lang/rust-clippy/issues/3764 it's still a WIP and doesn't work but this is an initial stab. It builds though I haven't added any tests as I'm not sure where lint tests should go?

Unfortunately, it seems id isn't tied to the type itself but I guess where it is in the AST? Looking at https://manishearth.github.io/rust-internals-docs/syntax/ast/struct.Ty.html I can't see any members that would let me tell if a type was repeated in multiple trait bounds.

There may be other issues with how I've implemented this so any assistance is appreciated!

changelog: Add new lint: `type_repetition_in_bounds`
2019-07-30 12:11:17 +00:00
..
src Auto merge of #3766 - xd009642:issue-3764, r=flip1995 2019-07-30 12:11:17 +00:00
Cargo.toml Update pulldown-cmark to 0.5.3 2019-07-19 07:29:25 +02:00
README.md

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.