bors 849668ad71 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.
2022-04-12 16:14:13 +00:00
..
2022-03-11 13:31:24 +11:00
2022-04-07 14:14:30 -06:00
2022-01-23 19:31:32 +08:00
2022-01-23 19:31:32 +08:00
2022-03-11 13:31:24 +11:00
2022-03-11 13:31:24 +11:00
2022-03-11 13:31:24 +11:00
2022-01-23 19:31:32 +08:00
2022-04-07 14:14:30 -06:00
2022-04-10 01:07:01 +08:00
2022-01-23 19:31:32 +08:00
2022-03-11 13:31:24 +11:00
2022-03-11 13:31:24 +11:00
2022-03-11 13:31:24 +11:00
2022-03-11 13:31:24 +11:00
2022-03-11 13:31:24 +11:00
2022-01-23 19:31:32 +08:00
2022-03-27 21:49:38 +08:00
2022-02-15 16:03:24 +11:00
2022-01-23 19:31:32 +08:00
2022-02-15 16:19:59 +11:00
2022-02-15 16:19:59 +11:00
2022-03-11 13:31:24 +11:00
2022-01-15 01:16:55 +00:00
2022-01-23 19:31:32 +08:00
2022-01-23 19:31:32 +08:00
2022-01-23 19:31:32 +08:00
2022-02-15 16:03:24 +11:00
2022-03-11 13:31:24 +11:00
2022-01-16 16:02:36 -06:00
2022-02-15 16:03:24 +11:00
2022-03-11 13:31:24 +11:00
2022-03-11 13:31:24 +11:00
2022-02-15 16:03:24 +11:00
2022-01-23 19:31:32 +08:00
2022-01-23 19:31:32 +08:00
2022-01-23 19:31:32 +08:00
2022-03-25 15:05:27 +01:00
2022-01-16 16:02:36 -06:00
2022-01-23 19:31:32 +08:00
2022-03-11 13:31:24 +11:00
2022-03-15 02:00:08 +01:00
2022-03-30 20:12:58 +02:00