bors
38104f3a88
Auto merge of #123936 - Mark-Simulacrum:zst-no-alloc, r=oli-obk
...
Codegen ZSTs without an allocation
This makes sure that &[] is equivalent to unsafe code (from_raw_parts(dangling, 0)). No new stable guarantee is intended about whether or not we do this, this is just an optimization.
This regressed in #67000 (no comments I can see about that regression in the PR, though it did change the test modified here). We had previously performed this optimization since #63635 .
2024-04-17 18:31:10 +00:00
..
2024-03-24 15:37:24 +00:00
2024-04-01 17:07:49 +01:00
2024-04-06 10:59:24 -04:00
2024-04-16 11:19:35 -04:00
2024-04-10 17:25:10 -07:00
2024-02-22 16:04:04 +00:00
2024-03-30 19:40:18 -04:00
2024-04-09 05:25:51 +02:00
2024-03-24 15:37:24 +00:00
2024-04-09 19:55:06 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-15 01:41:37 -07:00
2024-04-17 12:51:20 +00:00
2024-03-17 11:55:20 -04:00
2024-03-25 14:19:07 +00:00
2024-03-18 23:27:44 +01:00
2024-03-10 09:29:13 +03:00
2024-03-17 10:11:04 -07:00
2024-02-29 14:10:29 +00:00
2024-01-12 18:23:04 +08:00
2024-04-01 05:44:45 +01:00
2024-03-14 11:03:15 +01:00
2024-01-06 18:46:35 +03:00
2024-01-06 18:46:35 +03:00
2024-01-06 18:46:35 +03:00
2024-03-12 13:40:40 +00:00
2024-03-28 18:47:26 +01:00
2024-04-15 18:08:55 +00:00
2024-04-15 18:08:55 +00:00
2024-01-31 15:15:59 +01:00
2024-03-24 15:37:24 +00:00
2024-03-28 18:47:26 +01:00
2024-04-16 21:13:21 -04:00
2024-01-26 12:39:03 +08:00
2024-01-31 15:15:59 +01:00
2024-03-27 22:15:49 +00:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-02-26 11:10:18 +01:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-03-27 21:55:09 +00:00
2024-03-10 10:58:16 +01:00
2024-02-25 22:28:30 -03:00