rust/library/core/tests
Jubilee 98f567b35a
Rollup merge of #130313 - c410-f3r:unlock-rfc-2011, r=thomcc
[`cfg_match`] Generalize inputs

cc #115585

Changes the input type from `item` to `tt`, which makes the macro have the same functionality of `cfg_if`.

Also adds a test to ensure that `stmt_expr_attributes` is not triggered.
2024-09-26 22:20:53 -07:00
..
async_iter Remove unnecessary lets and borrowing from Waker::noop() usage. 2024-01-17 12:00:27 -08:00
ffi CStr: derive PartialEq, Eq; add test for Ord 2024-07-25 14:18:40 +03:00
fmt Implement debug_more_non_exhaustive 2024-07-21 12:05:02 -05:00
hash add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
io Make io::BorrowedCursor::advance safe 2024-02-07 16:46:28 +01:00
iter Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
net Reformat use declarations. 2024-07-29 08:26:52 +10:00
num Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ops Explicitly specify type parameter on FromResidual impls in stdlib. 2024-08-12 12:54:18 -05:00
panic Fix test (location_const_file) 2022-10-08 11:48:53 +00:00
alloc.rs rename ptr::invalid -> ptr::without_provenance 2024-02-21 20:15:52 +01:00
any.rs Adjust library tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
array.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ascii_char.rs core: optimise Debug impl for ascii::Char 2024-08-09 22:50:57 +02:00
ascii.rs optimize Cstr/EscapeAscii display 2023-06-29 01:55:03 +02:00
asserting.rs Spelling library/ 2023-04-26 02:10:22 -04:00
atomic.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
bool.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
cell.rs apply fmt 2024-01-11 15:04:48 +03:00
char.rs remove redundant imports 2023-12-10 10:56:22 +08:00
clone.rs impl CloneToUninit for str and CStr 2024-07-29 20:33:11 +03:00
cmp.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
const_ptr.rs
convert.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
error.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ffi.rs CStr: derive PartialEq, Eq; add test for Ord 2024-07-25 14:18:40 +03:00
future.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
intrinsics.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
lazy.rs Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut 2024-09-17 09:40:34 -07:00
lib.rs stabilize const_intrinsic_copy 2024-09-23 22:12:54 +02:00
macros.rs Rustfmt 2024-09-13 15:18:30 -03:00
manually_drop.rs Flip cfg's for bootstrap bump 2023-07-12 21:38:55 -04:00
mem.rs fix UB in a test 2024-09-09 16:17:34 +02:00
nonzero.rs Replace NonZero::<_>::new with NonZero::new. 2024-02-15 08:09:42 +01:00
ops.rs Explicitly specify type parameter on FromResidual impls in stdlib. 2024-08-12 12:54:18 -05:00
option.rs Make Option::as_[mut_]slice const 2024-06-19 21:44:47 +01:00
panic.rs Add newlines 2022-09-27 19:23:52 +00:00
pattern.rs
pin_macro.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
pin.rs PinCoerceUnsized trait into core 2024-07-31 17:10:55 +08:00
ptr.rs ignore some vtable/fn ptr equality tests in Miri, their result is not fully predictable 2024-08-12 10:39:11 +02:00
result.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
simd.rs Fix library tests 2023-11-26 08:50:39 -05:00
slice.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
str_lossy.rs Stabilize Utf8Chunks 2024-04-24 15:27:47 -07:00
str.rs Update paths in comments. 2022-12-30 14:00:42 +01:00
task.rs Remove test of static Context 2023-01-02 10:33:23 -08:00
time.rs core: add Duration constructors 2024-01-24 14:24:57 +01:00
tuple.rs
unicode.rs
waker.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00