Michael Goulet
2eb1c08e43
Use local key in providers
2023-03-21 15:38:51 +00:00
Michael Goulet
ee2d42882f
Use unused_generic_params from crate metadata
2023-03-14 16:33:12 +00:00
Nilstrieb
5f593da4e6
Unify all validity check intrinsics
...
Also merges the inhabitedness check into the query to further unify the
code paths.
2023-02-27 13:30:44 +00:00
Nilstrieb
025d2a147f
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, 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.
2023-02-23 18:42:36 +00:00
John Kåre Alsaker
80d265240b
Create a single value cache for the () query key
2023-02-11 23:38:01 +01:00
Maybe Waffle
452c745518
Add a comment warning against using associated type defaults <3
2022-12-16 15:10:48 +00:00
Maybe Waffle
7e79c575e9
Help rust-analyzer normalize query return types
2022-12-09 12:26:01 +00:00
Camille GILLOT
bc9a202a22
Use Key impl to select cache.
2022-11-01 17:07:55 +00:00
Camille GILLOT
ade5cffc2b
Move keys module.
2022-11-01 17:02:51 +00:00