Matthias Krüger
3fcc79f04a
Rollup merge of #108364 - Nilstrieb:validity-checks-refactor, r=compiler-errors
...
Unify validity checks into a single query
Previously, there were two queries to check whether a type allows the 0x01 or zeroed bitpattern.
I am planning on adding a further initness to check in #100423 , truly uninit for MaybeUninit, which would make this three queries. This seems overkill for such a small feature, so this PR unifies them into one.
I am not entirely happy with the naming and key type and open for improvements.
r? oli-obk
2023-02-27 06:11:52 +01:00
..
2023-02-23 18:42:36 +00:00
2023-02-25 19:46:36 +00:00
2023-02-25 15:19:13 +00:00
2023-02-22 09:15:53 +00:00
2023-02-24 07:32:24 +11:00
2023-02-24 05:12:03 +01:00
2023-02-27 06:11:52 +01:00
2023-02-24 07:33:02 +11:00
2023-02-24 07:33:02 +11:00
2023-02-27 06:11:52 +01:00
2023-02-27 06:11:52 +01:00
2023-02-24 08:53:27 +11:00
2023-02-26 20:12:36 +13:00
2023-02-26 20:12:36 +13:00
2023-02-23 01:14:10 +01:00
2023-02-26 12:05:00 +01:00
2023-02-24 23:37:10 +02:00
2023-02-26 12:05:01 +01:00
2023-02-27 06:11:51 +01:00
2023-02-25 19:46:36 +00:00
2023-02-25 19:46:36 +00:00
2023-02-22 09:15:53 +00:00
2023-02-26 12:04:59 +01:00
2023-02-25 11:53:09 -08:00
2023-02-26 00:46:25 +01:00
2023-02-22 21:53:16 +00:00
2023-02-25 01:04:56 +01:00
2023-02-25 11:53:09 -08:00
2023-02-27 06:11:52 +01:00
2023-02-25 19:46:36 +00:00
2023-02-25 13:55:26 +00:00
2023-02-27 06:11:52 +01:00
2023-02-24 07:32:24 +11:00
2023-02-26 12:04:59 +01:00
2023-02-26 12:04:58 +01:00
2023-02-22 09:15:53 +00:00
2023-02-23 00:19:12 +00:00
2023-02-25 06:11:01 +01:00
2023-02-25 06:11:02 +01:00
2023-02-23 00:19:12 +00:00
2023-02-25 01:04:56 +01:00
2023-02-25 11:53:09 -08:00
2023-02-26 12:05:01 +01:00
2023-02-24 07:32:24 +11:00
2023-02-27 06:11:51 +01:00
2023-02-24 07:33:02 +11:00
2023-02-22 17:04:58 +00:00
2023-02-24 07:32:24 +11:00