summary refs log tree commit diff
path: root/library/core/tests
AgeCommit message (Expand)AuthorLines
2022-06-16Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}`Maybe Waffle-3/+2
2022-06-10Auto merge of #91970 - nrc:provide-any, r=scottmcmbors-0/+63
2022-06-08Stabilize `const_intrinsic_copy`Yuki Okushi-1/+0
2022-06-07Use repr(C) when depending on struct layout in ptr testsBen Kimock-0/+1
2022-06-06Add some more testsNick Cameron-2/+42
2022-06-06Modify the signature of the request_* methods so that trait_upcasting is not ...Nick Cameron-3/+3
2022-06-06Add the Provider api to core::anyNick Cameron-0/+23
2022-06-03test const_copy to make sure bytewise pointer copies are workingRalf Jung-0/+41
2022-05-29Use Box::new() instead of box syntax in core testsest31-10/+13
2022-05-25Auto merge of #94954 - SimonSapin:null-thin3, r=yaahcbors-0/+12
2022-05-22[RFC 2011] Library codeCaio-0/+39
2022-05-22Auto merge of #97265 - JohnTitor:rollup-kgthnjt, r=JohnTitorbors-2/+4
2022-05-20Fix `Display` for `cell::{Ref,RefMut}`Josh Stone-2/+4
2022-05-20Stabilize core::array::from_fnCaio-2/+2
2022-05-18Stage-step cfgsMark Rousskov-2/+0
2022-05-14Auto merge of #95602 - scottmcm:faster-array-intoiter-fold, r=the8472bors-0/+32
2022-05-13Extend ptr::null and null_mut to all thin (including extern) typesSimon Sapin-0/+12
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