rust/library/core/src
Jana Dönszelmann f85283b0d4
Rollup merge of #143329 - folkertdev:minicore-diagnostic-on-unimplemented, r=jieyouxu
minicore: use core's `diagnostic::on_unimplemented` messages

Without these attributes, the error message is different. Keeping the diagnostics up-to-date seems related to https://github.com/rust-lang/rust/issues/137531.

The modified test files are reported in https://github.com/rust-lang/rust/issues/143319 as failing for `--target=riscv64gc-unknown-linux-gnu`. Using `minicore` for them makes it easier to troubleshoot this sort of issue.

r? ``@jieyouxu``
2025-07-03 13:29:39 +02:00
..
alloc Add some track_caller info to precondition panics 2025-05-21 09:10:06 -04:00
array Update version placeholders 2025-07-01 10:54:33 -07:00
ascii Add some track_caller info to precondition panics 2025-05-21 09:10:06 -04:00
async_iter Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
bstr Replace colon with parentheses, add missing period 2025-04-21 10:48:46 -04:00
cell Update version placeholders 2025-07-01 10:54:33 -07:00
char Add diagnostic items for Clippy 2025-06-20 17:53:09 +02:00
clone CloneToUninit: use a private specialization trait 2024-07-29 20:44:43 +03:00
cmp Use generic NonZero everywhere in core. 2024-02-22 15:17:33 +01:00
convert library/compiler: add PointeeSized bounds 2025-06-16 23:04:33 +00:00
ffi byte-addresses memory -> byte-addressed memory 2025-07-02 11:18:02 +00:00
fmt Rollup merge of #134006 - klensy:typos, r=nnethercote 2025-07-03 13:29:35 +02: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 Rollup merge of #134006 - klensy:typos, r=nnethercote 2025-07-03 13:29:35 +02:00
io setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
iter Rollup merge of #143067 - GrigorenkoPV:142269, r=workingjubilee 2025-06-26 20:15:30 -04:00
macros Rollup merge of #142704 - tgross35:remove-concat_idents, r=fee1-dead 2025-06-24 15:39:38 +02:00
marker phantom_variance_markers: fix identifier usage in macro 2025-06-22 16:06:25 -07:00
mem miri: improve errors for type validity assertion failures 2025-07-02 17:47:46 +02:00
net Add Ipv4Addr and Ipv6Addr diagnostic items 2025-05-14 09:34:25 +02:00
num Rollup merge of #134006 - klensy:typos, r=nnethercote 2025-07-03 13:29:35 +02:00
ops Remove some unsized tuple impls now that we don't support unsizing tuples anymore 2025-07-02 14:17:54 +00:00
panic Use a NonNull pointer 2025-06-23 13:45:56 +00:00
pin centralize aliasing rules discussion in UnsafeCell docs 2025-06-07 21:57:45 +02:00
prelude Remove the deprecated concat_idents! macro 2025-06-24 11:07:16 +00:00
ptr setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
range Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
slice Update version placeholders 2025-07-01 10:54:33 -07:00
str Update version placeholders 2025-07-01 10:54:33 -07:00
sync core docs: improve clarity of considerations about atomic CAS operations 2025-06-10 17:14:04 +02:00
task Rollup merge of #142158 - xizheyin:141617, r=jdonszelmann 2025-06-13 05:16:56 +02:00
unicode Remove unneeded parentheses. 2025-03-08 12:56:00 +01:00
any.rs Stop backends from needing to support nullary intrinsics 2025-06-30 08:04:19 +00: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 Move select_unpredictable to the hint module 2025-04-13 01:34:25 +01:00
borrow.rs Suggest borrowing on fn argument that is impl AsRef 2024-05-09 23:25:31 +00:00
cell.rs make RefCell unstably const 2025-06-25 17:06:49 -07:00
clone.rs Make Clone a const_trait 2025-06-19 16:36:33 -07:00
cmp.rs Make PartialEq a const_trait 2025-06-23 08:45:26 +00:00
contracts.rs Apply suggestions from code review 2025-04-10 16:32:56 -07:00
default.rs Marks ADT live if it appears in pattern 2025-06-14 13:44:43 +08:00
error.md Mention core's PanicInfo in error.md. 2024-06-11 15:47:00 +02:00
error.rs Detect more cases of unused_parens around types 2025-07-01 08:56:20 +02:00
escape.rs Get rid of EscapeDebugInner. 2025-06-15 22:08:41 +02:00
hint.rs Auto merge of #129658 - saethlin:spare-a-crumb, r=jhpratt 2025-05-27 22:11:53 +00:00
internal_macros.rs Use cfg_match in core 2025-03-26 14:32:35 -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 setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
marker.rs minicore: use core's diagnostic::on_unimplemented messages 2025-07-03 10:22:40 +02:00
option.rs Rollup merge of #142158 - xizheyin:141617, r=jdonszelmann 2025-06-13 05:16:56 +02:00
panic.rs update cfgs 2024-11-27 15:14:54 +00:00
panicking.rs Insert checks for enum discriminants when debug assertions are enabled 2025-06-27 09:37:36 +00:00
pat.rs update cfgs 2025-04-09 12:29:59 +01:00
pin.rs setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
primitive.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
primitive_docs.rs Rollup merge of #136801 - sorairolake:add-random-for-tuple, r=joshtriplett 2025-07-01 17:46:59 +02:00
random.rs random: add tracking issue, address other comments 2024-09-23 10:36:16 +02:00
range.rs update cfg(bootstrap) 2025-02-18 09:32:44 -08:00
result.rs Update version placeholders 2025-07-01 10:54:33 -07:00
time.rs Split duration_constructors to get non-controversial bits out faster. 2025-05-09 22:52:39 -04:00
tuple.rs Remove some unsized tuple impls now that we don't support unsizing tuples anymore 2025-07-02 14:17:54 +00:00
ub_checks.rs Add some track_caller info to precondition panics 2025-05-21 09:10:06 -04: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