Victor Song e683e3eeac Don't lint manual_non_exhaustive when enum explicitly marked as non_exhaustive
There are cases where users create a unit variant for the purposes
of tracking the number of variants for an nonexhaustive enum.
We should check if an enum is explicitly marked as nonexhaustive
before reporting `manual_non_exhaustive` in these cases. Fixes #11583
2023-09-30 22:57:54 -05:00
..
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-17 19:44:25 +08:00
2023-09-12 17:32:11 +02:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-16 00:05:57 +08:00
2023-09-16 00:05:57 +08:00
2023-09-26 13:49:15 +00:00
2023-09-26 13:49:15 +00:00
2023-09-22 18:04:57 +02:00
2023-09-22 18:04:57 +02:00