Commit Graph

3 Commits

Author SHA1 Message Date
Oli Scherer d8470bb00b Sorting arbitrary constants should not be done, as it relies on `DefId` ordering, which breaks incremental compilation. 2024-03-21 10:45:30 +00:00
kadmin b76dd8c807 Add feature gate 2023-04-07 11:18:07 -07:00
kadmin 648a35e327 Add ability to transmute with generic consts
Previously if the expression contained generic consts and did not have a directly equivalent
type, transmuting the type in this way was forbidden, despite the two sizes being identical.
Instead, we should be able to lazily tell if the two consts are identical, and if so allow them
to be transmuted.
2023-04-04 08:05:15 +00:00