about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-12 16:14:13 +0000
committerbors <bors@rust-lang.org>2022-04-12 16:14:13 +0000
commit849668ad718ad90ed8a61147968fde2eef772479 (patch)
treeb3219319b49e853d0eca3b6f61296c4ca5615af3 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentf08a9c03690d751893edd4d37e83d65d2ce92305 (diff)
parent739f273739a1e4da98d1222f3316d831ae187bc2 (diff)
downloadrust-849668ad718ad90ed8a61147968fde2eef772479.tar.gz
rust-849668ad718ad90ed8a61147968fde2eef772479.zip
Auto merge of #8690 - mucinoab:DoNot-rest_pat_in_fully_bound_structs-OnNonExhaustive, r=Manishearth
Do not trigger ``[`rest_pat_in_fully_bound_structs`]`` on `#[non_exhaustive]` structs

fixes #8029

Just adds an additional check to ensure that the`ty::VariantDef` is not marked as `#[non_exhaustive]`.

changelog: Do not apply ``[`rest_pat_in_fully_bound_structs`]`` on structs marked as non exhaustive.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions