8 Commits

Author SHA1 Message Date
Jonathan Brouwer 1e3d3bdb24 Rollup merge of #153874 - bend-n:constify-const-fn-destruct, r=oli-obk
constify const Fn*: Destruct

makes closures const destruct where their upvars are. i think this makes sense
and is how this should be implemented.

r? @oli-obk
2026-03-24 18:14:15 +01:00
bendn b90abe64c1 constify const Fn*: Destruct 2026-03-17 23:47:42 +07:00
cyrgani a893257cea remove usages of to-be-deprecated numeric constants 2026-03-15 22:14:11 +00:00
bendn e3a2c23e37 redo the drain 2025-11-27 20:18:13 +07:00
bendn eddf2f8c68 tests 2025-11-27 20:16:43 +07:00
Christian Poveda a7528e7ec3 Improve core::array coverage 2025-09-10 17:25:24 -05:00
Julian Knodt ab1c49a7fa Add #[must_use] to Array::map
The output of Array::map is intended to be an array of the same size, and does not modify the
original in place nor is it intended for side-effects. Thus, under normal circumstances it should be consumed.

See [discussion](https://internals.rust-lang.org/t/array-map-annotate-with-must-use/22813/26).

Attaching to tracking issue #75243
2025-05-13 12:34:53 +09:00
bjorn3 b6a3841942 Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00