Jon Ross-Perkins
49ba8cf3e1
Switch class to use a blanket impl for Destroy ( #6125 )
...
Right now, the class destroy impl is incorrectly generated (first
discussed [in
Discord](https://discord.com/channels/655572317891461132/941071822756143115/1418614787449032826 )).
If we want it to be correct, deferred definition logic would need to be
added, and the declaration would need to be moved inside the `class`
scope (along with whatever generic logic that needs).
This instead switches to a blanket impl, to avoid creating latent bugs
with generating the `impl` and function body in the wrong scope. This
approach uses the same blanket impl as aggregate destruction that was
added by #6098 .
The intent here is to allow progress on other parts of `Destroy`. For
example, under this model the implementation of the function body could
be done as part of lowering the specific.
2025-09-29 16:05:06 +00:00
..
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-10 17:57:08 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-08-20 18:30:11 +00:00
2025-06-25 21:03:15 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-06-17 21:10:04 +00:00
2025-09-29 16:05:06 +00:00
2025-06-17 21:10:04 +00:00
2025-09-03 21:00:12 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-09-29 16:05:06 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-09-10 23:55:55 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-09-10 23:55:55 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-23 22:11:11 +00:00
2025-09-29 16:05:06 +00:00
2025-09-10 17:57:08 +00:00
2025-06-17 21:10:04 +00:00
2025-08-20 18:30:11 +00:00
2025-08-20 18:30:11 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-08-20 18:30:11 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-08-06 23:55:05 +00:00
2025-09-29 16:05:06 +00:00
2025-06-18 20:45:46 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-08-06 23:55:05 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00
2025-09-10 17:57:08 +00:00
2025-09-29 16:05:06 +00:00
2025-09-29 16:05:06 +00:00