rust/tests
bors 27733d46d7 Auto merge of #130887 - Soveu:repeatn, r=scottmcm
Safer implementation of RepeatN

I've seen the "Use MaybeUninit for RepeatN" commit while reading This Week In Rust and immediately thought about something I've written some time ago - https://github.com/Soveu/repeat_finite/blob/master/src/lib.rs.

Using the fact, that `Option` will find niche in `(T, NonZeroUsize)`, we can construct something that has the same size as `(T, usize)` while completely getting rid of `MaybeUninit`.
This leaves only `unsafe` on `TrustedLen`, which is pretty neat.
2025-06-18 03:18:10 +00:00
..
assembly Auto merge of #137944 - davidtwco:sized-hierarchy, r=oli-obk 2025-06-17 15:08:50 +00:00
auxiliary aux: add {Meta,Pointee}Sized bounds to minicore 2025-06-16 23:04:33 +00:00
codegen Auto merge of #130887 - Soveu:repeatn, r=scottmcm 2025-06-18 03:18:10 +00:00
codegen-units tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
coverage coverage: Revert "unused local file IDs" due to empty function names 2025-05-27 23:33:29 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
debuginfo tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
incremental tests: bless remaining tests 2025-06-16 23:04:35 +00:00
mir-opt tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
pretty Rollup merge of #134847 - dtolnay:asymmetrical, r=fmease 2025-06-13 05:16:54 +02:00
run-make Auto merge of #142613 - workingjubilee:rollup-yuod2hg, r=workingjubilee 2025-06-17 18:14:08 +00:00
rustdoc rustdoc: PointeeSized bounds with extern types 2025-06-16 23:04:36 +00:00
rustdoc-gui rustdoc: make srcIndex no longer a global variable 2025-06-16 20:22:24 -05:00
rustdoc-js yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json rustdoc: {Meta,Pointee,}Sized in non-minicore 2025-06-16 23:04:36 +00:00
rustdoc-ui rustdoc: {Meta,Pointee,}Sized in non-minicore 2025-06-16 23:04:36 +00:00
ui Rollup merge of #142631 - xizheyin:142143, r=Urgau 2025-06-17 23:19:39 +02:00
ui-fulldeps Rollup merge of #142371 - fee1-dead-contrib:push-xqlkumzurkus, r=petrochenkov 2025-06-17 23:19:34 +02:00
COMPILER_TESTS.md