rust/library/core/tests
Jubilee 882d660036
Rollup merge of #131177 - workingjubilee:stabilize-const-mut-referees, r=tgross35
Stabilize 5 `const_mut_refs`-dependent API

Since `const_mut_refs` and `const_refs_to_cell` have been stabilized, we now may create mutable references inside our library API. Thus we now stabilize the `const fn` version of these public library APIs which required such in their implementation:
- const `NonNull::as_mut` https://github.com/rust-lang/rust/issues/91822#issuecomment-2338930442
- const `slice::{first,last}_mut`: https://github.com/rust-lang/rust/issues/83570#issuecomment-2334847112
- const `str::as_{mut_ptr,bytes_mut}`: https://github.com/rust-lang/rust/issues/130086#issuecomment-2336408562
- const `str::from_utf8_unchecked_mut`: https://github.com/rust-lang/rust/issues/91005#issuecomment-2359820672
- const `UnsafeCell::get_mut`: https://github.com/rust-lang/rust/issues/88836#issuecomment-2359817772
2024-10-04 14:11:37 -07:00
..
async_iter
ffi
fmt
hash add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
io
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
alloc.rs
any.rs
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
asserting.rs
atomic.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
bool.rs
cell.rs
char.rs
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
error.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ffi.rs
future.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
intrinsics.rs
lazy.rs Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut 2024-09-17 09:40:34 -07:00
lib.rs Rollup merge of #131177 - workingjubilee:stabilize-const-mut-referees, r=tgross35 2024-10-04 14:11:37 -07:00
macros.rs Rustfmt 2024-09-13 15:18:30 -03:00
manually_drop.rs
mem.rs fix UB in a test 2024-09-09 16:17:34 +02:00
nonzero.rs
ops.rs Explicitly specify type parameter on FromResidual impls in stdlib. 2024-08-12 12:54:18 -05:00
option.rs
panic.rs
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
slice.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
str_lossy.rs
str.rs
task.rs
time.rs
tuple.rs
unicode.rs
waker.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00