rust/tests/ui/intrinsics
Karl Meakin 262cd76333 Optimize SliceIndex<str> for RangeInclusive
Replace `self.end() == usize::MAX` and `self.end() + 1 > slice.len()`
with `self.end() >= slice.len()`. Same reasoning as previous commit.

Also consolidate the str panicking functions into function.
2026-02-10 23:19:01 +00:00
..
auxiliary cci_inrinsic tets: do not use atomic intrinsic 2025-06-07 21:45:58 +02:00
always-gets-overridden.rs remove support for rustc_intrinsic_must_be_overridden from the compiler 2025-02-24 07:53:59 +01:00
bad-intrinsic-monomorphization.rs remove most simd_ intrinsic declaration in tests 2025-02-27 12:22:59 +01:00
bad-intrinsic-monomorphization.stderr Fix parallel rustc not being reproducible due to unstable sorting of items. 2025-08-13 08:59:32 +08:00
const-eval-select-backtrace-std.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-eval-select-backtrace-std.run.stderr Optimize SliceIndex<str> for RangeInclusive 2026-02-10 23:19:01 +00:00
const-eval-select-backtrace.rs const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
const-eval-select-backtrace.run.stderr Print thread ID in panic message if thread name is unknown 2025-08-06 23:59:47 +00:00
const-eval-select-bad.rs Remove const_eval_select hack 2025-07-08 15:49:00 +00:00
const-eval-select-bad.stderr Remove const_eval_select hack 2025-07-08 15:49:00 +00:00
const-eval-select-stability.rs Re-do recursive const stability checks 2024-10-25 20:31:40 +02:00
const-eval-select-stability.stderr const-check: stop recommending the use of rustc_allow_const_fn_unstable 2025-05-25 22:47:21 +02:00
const-eval-select-x86_64.rs const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
const-eval-select.rs const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
incorrect-read_via_copy-defn.rs update/bless tests 2025-04-06 21:41:47 +02:00
incorrect-read_via_copy-defn.stderr update/bless tests 2025-04-06 21:41:47 +02:00
incorrect-transmute.rs update/bless tests 2025-04-06 21:41:47 +02:00
incorrect-transmute.stderr update/bless tests 2025-04-06 21:41:47 +02:00
intrinsic-alignment.rs Replace NullOp::SizeOf and NullOp::AlignOf by lang items. 2025-10-23 00:38:28 +00:00
intrinsic-assume.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-atomics.rs atomicrmw on pointers: move integer-pointer cast hacks into backend 2025-07-23 08:32:55 +02:00
intrinsic-fmuladd.rs Mark float intrinsics with no preconditions as safe 2025-09-21 20:37:51 -04:00
intrinsic-inline-cc.rs cci_inrinsic tets: do not use atomic intrinsic 2025-06-07 21:45:58 +02:00
intrinsic-raw_eq-const-bad.rs Fix tests for big-endian 2025-07-30 13:53:04 +02:00
intrinsic-raw_eq-const-bad.stderr Fix tests for big-endian 2025-07-30 13:53:04 +02:00
intrinsic-raw_eq-const.rs most const intrinsics don't need an explicit rustc_const_unstable any more 2024-11-04 23:27:46 +01:00
intrinsic-unreachable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-volatile.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsics-integer.rs remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functions instead 2024-11-08 09:16:00 +01:00
intrinsics-math.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
invalid-ABI-rust-intrinsic.rs update/bless tests 2025-04-06 21:41:47 +02:00
invalid-ABI-rust-intrinsic.stderr update/bless tests 2025-04-06 21:41:47 +02:00
issue-28575.rs update/bless tests 2025-04-06 21:41:47 +02:00
issue-28575.stderr update/bless tests 2025-04-06 21:41:47 +02:00
issue-84297-reifying-copy.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-integer-atomic.rs atomicrmw on pointers: move integer-pointer cast hacks into backend 2025-07-23 08:32:55 +02:00
non-integer-atomic.stderr Sort mono items by symbol name 2025-08-15 14:04:32 +02:00
not-overridden.rs Print thread ID in panic message if thread name is unknown 2025-08-06 23:59:47 +00:00
not-overridden.stderr Auto merge of #135031 - RalfJung:intrinsics-without-body, r=oli-obk 2025-01-04 12:50:38 +00:00
panic-uninitialized-zeroed.rs Report uninhabited call return types on MIR. 2025-10-11 20:50:20 +00:00
reify-intrinsic.rs fix reify-intrinsic test 2025-01-23 08:06:37 -07:00
reify-intrinsic.stderr Mark float intrinsics with no preconditions as safe 2025-09-21 20:37:51 -04:00
safe-intrinsic-mismatch.rs update/bless tests 2025-04-06 21:41:47 +02:00
safe-intrinsic-mismatch.stderr update/bless tests 2025-04-06 21:41:47 +02:00
unchecked_math_unsafe.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unchecked_math_unsafe.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unchecked_math_unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unchecked_math_unstable.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00