rust/library/core/src
Stuart Cook b0c55c8554
Rollup merge of #145664 - Darksonn:stab-file-with-nul, r=Mark-Simulacrum
Stabilize `std::panic::Location::file_as_c_str`

Closes: rust-lang/rust#141727

Nominating this for T-lang as per ```@traviscross```  https://github.com/rust-lang/rust/issues/141727#issuecomment-3201318429
2025-09-21 14:42:34 +10:00
..
alloc Address dangling doc 2025-08-12 13:18:48 +01:00
array Note some previous attempts to change the Default impl for [T; 0] 2025-09-14 14:45:50 +10:00
ascii Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
async_iter clippy fix: markdown indentation for indented items after line break 2025-07-08 11:48:15 +00:00
bstr Constify conversion traits 2025-09-01 21:38:26 -04:00
cell Constify conversion traits 2025-09-01 21:38:26 -04:00
char optimization: Don't include ASCII characters in Unicode tables 2025-09-07 15:21:24 +02:00
clone CloneToUninit: use a private specialization trait 2024-07-29 20:44:43 +03:00
cmp clean up some old const trait impl syntax 2025-09-06 04:35:52 +02:00
convert Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
ffi Fix std build for xtensa 2025-09-19 19:18:10 -06:00
fmt Rollup merge of #145940 - pascaldekloe:int-exp-tune, r=tgross35 2025-09-06 14:39:04 -04:00
future Address documentation issues identified with Future 2025-06-07 20:13:54 +01:00
hash Remove some unsized tuple impls now that we don't support unsizing tuples anymore 2025-07-02 14:17:54 +00:00
intrinsics Update docs. 2025-09-16 22:23:19 +00:00
io Rollup merge of #143829 - a1phyr:trim_borrowed_buf, r=ChrisDenton 2025-07-17 03:58:32 +02:00
iter Specialize Iterator::eq[_by] for TrustedLen iterators 2025-09-18 22:47:54 +03:00
macros mark format_args_nl! as #[doc(hidden)] 2025-09-08 15:02:25 +02:00
marker phantom_variance_markers: fix identifier usage in macro 2025-06-22 16:06:25 -07:00
mem Remove UnsizedConstParamTy trait and make it into an unstable impl 2025-09-15 08:57:22 +00:00
net Constify conversion traits 2025-09-01 21:38:26 -04:00
num Rollup merge of #146284 - Kivooeo:blazing-fast-division-bignum, r=Mark-Simulacrum 2025-09-15 06:03:45 +02:00
ops Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
os initial implementation of the darwin_objc unstable feature 2025-09-13 16:06:22 -07:00
panic Rollup merge of #145664 - Darksonn:stab-file-with-nul, r=Mark-Simulacrum 2025-09-21 14:42:34 +10:00
pin Constify conversion traits 2025-09-01 21:38:26 -04:00
prelude Remove the From derive macro from prelude 2025-08-18 13:12:19 +02:00
ptr Rollup merge of #142315 - lolbinarycat:core-dedup-ptr-docs-139190-pt3, r=workingjubilee 2025-09-11 14:06:26 +10:00
range change end to last 2025-09-08 22:07:43 -04:00
slice Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
str Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
sync Rollup merge of #145279 - clarfonthey:const-convert-initial, r=tgross35 2025-09-03 23:08:06 +10:00
task Constify conversion traits 2025-09-01 21:38:26 -04:00
unicode optimization: Don't include ASCII characters in Unicode tables 2025-09-07 15:21:24 +02:00
any.rs Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
arch.rs update version placeholders 2025-05-12 15:33:30 +02:00
ascii.rs add doc(alias("AsciiChar")) to core::ascii::Char 2025-06-20 11:11:51 -05:00
asserting.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
bool.rs Add methods for converting bool to Result<(), E> 2025-06-19 23:20:06 +02:00
borrow.rs clean up some old const trait impl syntax 2025-09-06 04:35:52 +02:00
cell.rs Constify conversion traits 2025-09-01 21:38:26 -04:00
clone.rs clean up some old const trait impl syntax 2025-09-06 04:35:52 +02:00
cmp.rs add [const] PartialEq bound to PartialOrd 2025-09-17 16:39:01 -05:00
contracts.rs Apply suggestions from code review 2025-04-10 16:32:56 -07:00
default.rs Fix typo in default.rs 2025-09-07 21:16:35 -07:00
error.md Mention core's PanicInfo in error.md. 2024-06-11 15:47:00 +02:00
error.rs remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
escape.rs Get rid of EscapeDebugInner. 2025-06-15 22:08:41 +02:00
hint.rs Rollup merge of #145174 - 197g:issue-145148-select-unpredictable-drop, r=joboet 2025-08-31 13:40:35 +02:00
internal_macros.rs Constify remaining operators 2025-08-10 01:11:45 -04:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs initial implementation of the darwin_objc unstable feature 2025-09-13 16:06:22 -07:00
marker.rs Remove UnsizedConstParamTy trait and make it into an unstable impl 2025-09-15 08:57:22 +00:00
option.rs Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
panic.rs Revert "Partially outline code inside the panic! macro". 2025-08-12 12:52:39 +02:00
panicking.rs Revert "Partially outline code inside the panic! macro". 2025-08-12 12:52:39 +02:00
pat.rs clean up some old const trait impl syntax 2025-09-06 04:35:52 +02:00
pin.rs Constify conversion traits 2025-09-01 21:38:26 -04:00
primitive.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
primitive_docs.rs Avoid placing // FIXME comments inside doc code blocks 2025-07-25 22:02:09 -07:00
random.rs random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
range.rs Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
result.rs Constify Eq, Ord, PartialOrd 2025-09-12 12:39:31 +03:00
time.rs Add Duration::from_nanos_u128 2025-08-30 01:38:14 +03:00
tuple.rs Remove UnsizedConstParamTy trait and make it into an unstable impl 2025-09-15 08:57:22 +00:00
ub_checks.rs fix: don't panic on volatile access to null 2025-07-18 13:41:34 -03:00
unit.rs core: Make Debug impl of raw pointers print metadata if present 2025-02-15 17:27:55 +01:00
unsafe_binder.rs Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 2024-12-12 16:29:40 +00:00
wtf8.rs Diff-massaging commit 2025-08-20 20:31:33 -04:00