diff options
| author | bors <bors@rust-lang.org> | 2019-07-30 12:11:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-07-30 12:11:17 +0000 |
| commit | c3e913650e9850ccbb605ddc0d1a612fa70947d2 (patch) | |
| tree | 5e2f70e24754109e59bad342d91cb9f14ea0e877 /src/test/incremental/thinlto | |
| parent | e7d153a4ab3e0a99260da27fc44c40f203d48e19 (diff) | |
| parent | 78ebcaa5263e0fd4c4ec89da648d8386c034ce84 (diff) | |
| download | rust-c3e913650e9850ccbb605ddc0d1a612fa70947d2.tar.gz rust-c3e913650e9850ccbb605ddc0d1a612fa70947d2.zip | |
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`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
