about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-03 16:17:41 +0000
committerbors <bors@rust-lang.org>2020-07-03 16:17:41 +0000
commitfff8e7291381327f5106120b98d7f9585a493cad (patch)
tree0f0e5ccb35231dc0d387227bf155d74bca74c88e /src/test/rustdoc-ui/coverage/json.rs
parentc493090a8a601baea39a592fdbe199bd64d6db22 (diff)
parent2d5930a3da7048d784489f28b44a769880b6ceff (diff)
downloadrust-fff8e7291381327f5106120b98d7f9585a493cad.tar.gz
rust-fff8e7291381327f5106120b98d7f9585a493cad.zip
Auto merge of #5761 - ThibsG:TypeRepetitionThreshold, r=flip1995
Improvements for `type_repetition_in_bounds` lint

Some improvements for `type_repetition_in_bounds`:
- add a configurable threshold to trigger the lint (#4380). The lint won't trigger anymore if there are more bounds (strictly) than `conf.max_trait_bounds` on this type.
- take generic args into account over bounded type (#4323)
- don't lint for predicates generated in macros (#4326)

Fixes #4380,
Fixes #4323,
Fixes #4326,
Closes #3764

changelog: Fix multiple FPs in `type_repetition_in_bounds` and add a configuration option

Note: the #3764 has already been fixed but not closed
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions