summary refs log tree commit diff
path: root/library/core/tests
AgeCommit message (Expand)AuthorLines
2022-05-14Auto merge of #95602 - scottmcm:faster-array-intoiter-fold, r=the8472bors-0/+32
2022-05-06Auto merge of #94598 - scottmcm:prefix-free-hasher-methods, r=Amanieubors-0/+5
2022-05-06Add a dedicated length-prefixing method to `Hasher`Scott McMurray-0/+5
2022-05-05Rollup merge of #95359 - jhpratt:int_roundings, r=joshtriplettMatthias Krüger-14/+14
2022-05-04Update `int_roundings` methods from feedbackJacob Pratt-14/+14
2022-05-04Stabilize `bool::then_some`Josh Triplett-1/+0
2022-04-26Rollup merge of #96149 - est31:remove_unused_macro_matchers, r=petrochenkovDylan DPC-12/+0
2022-04-18Auto merge of #92287 - JulianKnodt:slice_remainder, r=yaahcbors-0/+13
2022-04-18Remove unused macro rulesest31-12/+0
2022-04-17Replace u8to64_le macro with u64::from_le_bytesest31-24/+2
2022-04-17Add slice::remainderkadmin-0/+13
2022-04-12Auto merge of #95399 - gilescope:plan_b, r=scottmcmbors-1/+71
2022-04-11better def of is signed in tests.Giles Cope-8/+2
2022-04-11fix Layout struct member naming styleliangyongrui-1/+1
2022-04-10Use Add, Sub, Mul traits instead of unsafeGiles Cope-1/+31
2022-04-09Rollup merge of #95361 - scottmcm:valid-align, r=Mark-SimulacrumDylan DPC-0/+18
2022-04-08Make non-power-of-two alignments a validity error in `Layout`Scott McMurray-0/+18
2022-04-08Rollup merge of #95579 - Cyborus04:slice_flatten, r=scottmcmDylan DPC-0/+17
2022-04-08add `<[[T; N]]>::flatten`, `<[[T; N]]>::flatten_mut`, and `Vec::<[T; N]>::int...Cyborus04-0/+17
2022-04-04from_u32(0) can just be default()Giles Cope-1/+47
2022-04-02Fix `array::IntoIter::fold` to use the optimized `Range::fold`Scott McMurray-0/+32
2022-04-02Rollup merge of #95556 - declanvk:nonnull-provenance, r=dtolnayDylan DPC-0/+79
2022-04-02Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnrDylan DPC-1/+0
2022-04-01Rollup merge of #95528 - RalfJung:miri-is-too-slow, r=scottmcmMatthias Krüger-0/+10
2022-04-01Implement provenance preserving method on NonNullDeclan Kelly-0/+79
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-1/+0
2022-03-31skip slow int_log tests in MiriRalf Jung-0/+10
2022-03-31ptr_metadata test: avoid ptr-to-int transmutesRalf Jung-5/+5
2022-03-27Debug print char 0 as '\0' rather than '\u{0}'David Tolnay-1/+1
2022-03-26add #[must_use] to functions of slice and its iterators.Jendrik-4/+4
2022-03-22Limit test_variadic_fnptr to unixbjorn3-1/+1
2022-03-20Don't declare test_variadic_fnptr with two conflicting signaturesbjorn3-6/+9
2022-03-18Rollup merge of #95017 - zachs18:cmp_ordering_derive_eq, r=Dylan-DPCMatthias Krüger-0/+13
2022-03-18Rollup merge of #94115 - scottmcm:iter-process-by-ref, r=yaahcMatthias Krüger-0/+24
2022-03-16Add test for StructuralEq for std::cmp::Ordering.Zachary S-0/+13
2022-03-13Auto merge of #94738 - Urgau:rustbuild-check-cfg-values, r=Mark-Simulacrumbors-2/+0
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-91/+91
2022-03-10Let `try_collect` take advantage of `try_fold` overridesScott McMurray-0/+24
2022-03-09Rollup merge of #93057 - frengor:iter_collect_into, r=m-ou-seMatthias Krüger-0/+9
2022-03-09Remove unexpected #[cfg(target_pointer_width = "8")] in testsLoïc BRANSTETT-2/+0
2022-03-03Miri can run this test nowRalf Jung-2/+0
2022-03-03fix a warning when building core tests with cfg(miri)Ralf Jung-0/+2
2022-03-01Miri/CTFE: properly treat overflow in (signed) division/rem as UBRalf Jung-0/+10
2022-02-28Rollup merge of #89793 - ibraheemdev:from_ptr_range, r=m-ou-seMatthias Krüger-0/+23
2022-02-27add `slice::{from_ptr_range, from_mut_ptr_range}`Ibraheem Ahmed-0/+23
2022-02-25Switch bootstrap cfgsMark Rousskov-4/+0
2022-02-20Add collect_intofren_gor-0/+9
2022-02-19Rollup merge of #93658 - cchiw:issue-77443-fix, r=joshtriplettMatthias Krüger-1/+1
2022-02-16Add a `try_collect()` helper method to `Iterator`Arthur Lafrance-0/+47
2022-02-14Write {ui,} tests for `pin_macro` and `pin!`Daniel Henry-Mantilla-0/+35