about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-04 11:06:31 +0000
committerbors <bors@rust-lang.org>2020-03-04 11:06:31 +0000
commit36b65986afbc9f41535b1a08c8fb9454ce5bf48c (patch)
treec2cbbaf4623594167676214334bf00d7f0854ad7 /src/test/incremental/thinlto
parent8dc3fde12700466d6310cc3e133b37080747123b (diff)
parent2aa14c9beb48ad780412df747b0a64b90eb5f13e (diff)
downloadrust-36b65986afbc9f41535b1a08c8fb9454ce5bf48c.tar.gz
rust-36b65986afbc9f41535b1a08c8fb9454ce5bf48c.zip
Auto merge of #5258 - ThibsG:UselessBindingInStruct638, r=flip1995
Add lint for .. use in fully binded struct

This PR adds the lint `match-wild-in-fully-binded-struct` to prevent the use of the `..` pattern when all fields of the struct are already binded.

Fixes: #638

changelog: Add [`rest_pat_in_fully_bound_structs`] lint to warn against the use of `..` in fully binded struct
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions