rust/tests/ui/consts/const-eval
2023-12-12 17:19:19 +01:00
..
auxiliary
heap also print 'immutable' flag 2023-12-07 17:46:36 +01:00
simd
stable-metric Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assign-to-static-within-other-static.rs
assign-to-static-within-other-static.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
conditional_array_execution.rs
conditional_array_execution.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_fn_ptr_fail2.rs
const_fn_ptr_fail2.stderr
const_fn_ptr_fail.rs
const_fn_ptr_fail.stderr
const_fn_ptr.rs
const_fn_ptr.stderr
const_fn_target_feature_wasm.rs const-eval: allow calling functions with targat features disabled at compile time in WASM 2023-10-14 20:15:05 +02:00
const_fn_target_feature.rs
const_fn_target_feature.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_let.rs
const_let.stderr
const_panic_2021.rs
const_panic_2021.stderr
const_panic_libcore_bin.rs
const_panic_libcore_bin.stderr
const_panic_stability.e2018.stderr
const_panic_stability.e2021.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_panic_stability.rs
const_panic_track_caller.rs
const_panic_track_caller.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_panic-normalize-tabs-115498.rs
const_panic-normalize-tabs-115498.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_panic.rs
const_panic.stderr
const_prop_errors.rs
const_raw_ptr_ops2.rs
const_raw_ptr_ops2.stderr don't UB on dangling ptr deref, instead check inbounds on projections 2023-10-15 18:12:46 +02:00
const_raw_ptr_ops.rs
const_raw_ptr_ops.stderr
const_signed_pat.rs
const-eval-intrinsic-promotion.rs
const-eval-intrinsic-promotion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-eval-overflow2.rs
const-eval-overflow2.stderr
const-eval-overflow2b.rs
const-eval-overflow2b.stderr
const-eval-overflow2c.rs
const-eval-overflow2c.stderr
const-eval-overflow-2.rs
const-eval-overflow-2.stderr
const-eval-overflow-3.rs
const-eval-overflow-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-eval-overflow-3b.rs
const-eval-overflow-3b.stderr
const-eval-overflow-4.rs
const-eval-overflow-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-eval-overflow-4b.rs
const-eval-overflow-4b.stderr
const-eval-query-stack.rs
const-eval-query-stack.stderr
const-eval-span.rs
const-eval-span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-pointer-values-in-various-types.64bit.stderr
const-pointer-values-in-various-types.rs
dont_promote_unstable_const_fn_cross_crate.rs
dont_promote_unstable_const_fn_cross_crate.stderr
dont_promote_unstable_const_fn.rs
dont_promote_unstable_const_fn.stderr
double_check2.rs
double_check.rs
duration_conversion.rs
enum_discr.rs
erroneous-const2.rs
erroneous-const2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
erroneous-const.rs
erroneous-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern_fat_pointer.rs
format.rs
format.stderr
generic-slice.rs
generic-slice.stderr
ice-generic-assoc-const.rs
ice-packed.rs
index_out_of_bounds_propagated.rs
index_out_of_bounds_propagated.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
index_out_of_bounds.rs
index_out_of_bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
index-out-of-bounds-never-type.rs
index-out-of-bounds-never-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
infinite_loop.rs
infinite_loop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-43197.rs
issue-43197.stderr
issue-44578.rs
issue-44578.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-47971.rs
issue-49296.rs
issue-49296.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-50706.rs
issue-50814-2.mir-opt.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-50814-2.normal.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-50814-2.rs Do not ICE on constant evaluation failure in GVN. 2023-10-31 10:44:28 +00:00
issue-50814.rs
issue-50814.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-51300.rs
issue-52475.rs
issue-52475.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-53157.rs
issue-53401.rs
issue-55541.rs
issue-64908.rs
issue-64970.rs
issue-65394.rs
issue-65394.stderr
issue-70723.rs
issue-70723.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-70804-fn-subtyping.rs
issue-84957-const-str-as-bytes.rs
issue-85155.rs
issue-85155.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-85907.rs
issue-85907.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-91827-extern-types-field-offset.rs also test projecting to some sized fields at non-zero offset in structs with an extern type tail 2023-12-12 17:19:19 +01:00
issue-91827-extern-types-field-offset.stderr also test projecting to some sized fields at non-zero offset in structs with an extern type tail 2023-12-12 17:19:19 +01:00
issue-100878.rs
issue-104390.rs
issue-104390.stderr
issue-114994-fail.rs test(const_eval): add test cases for #114994 2023-09-22 19:43:02 -05:00
issue-114994-fail.stderr test(const_eval): add test cases for #114994 2023-09-22 19:43:02 -05:00
issue-114994.rs test(const_eval): add test cases for #114994 2023-09-22 19:43:02 -05:00
livedrop.rs
livedrop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
match-test-ptr-null.rs
match-test-ptr-null.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mod-static-with-const-fn.rs
mod-static-with-const-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no_lint_for_statically_known_error.rs
nonnull_as_ref_ub.rs don't UB on dangling ptr deref, instead check inbounds on projections 2023-10-15 18:12:46 +02:00
nonnull_as_ref_ub.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nonnull_as_ref.rs
nrvo.rs MIRI -> Miri 2023-10-02 08:35:08 +02:00
panic-assoc-never-type.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
panic-assoc-never-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-never-type.rs
panic-never-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
partial_ptr_overwrite.rs
partial_ptr_overwrite.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
promote_mutable_zst_mir_borrowck.rs
promote-static.rs
promoted_const_fn_fail_deny_const_err.rs
promoted_const_fn_fail_deny_const_err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
promoted_const_fn_fail.rs
promoted_const_fn_fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
promoted_errors.noopt.stderr
promoted_errors.opt_with_overflow_checks.stderr
promoted_errors.opt.stderr
promoted_errors.rs
promoted_raw_ptr_ops.rs
promoted_raw_ptr_ops.stderr
raw-bytes.32bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
raw-bytes.64bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
raw-bytes.rs also print 'immutable' flag 2023-12-07 17:46:36 +01:00
raw-pointer-ub.rs Stabilize [const_]pointer_byte_offsets 2023-10-25 22:35:12 +00:00
raw-pointer-ub.stderr Update std::simd usage and test outputs 2023-11-26 09:02:25 -05:00
ref_to_int_match.32bit.stderr
ref_to_int_match.64bit.stderr
ref_to_int_match.rs
shift_overflow.rs
shift_overflow.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
simple_with_undef.rs
size-of-t.rs
size-of-t.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
strlen.rs
transmute-const-promotion.rs
transmute-const-promotion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
transmute-const.32bit.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
transmute-const.64bit.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
transmute-const.rs
transmute-size-mismatch.rs
transmute-size-mismatch.stderr
ub-enum-overwrite.rs
ub-enum-overwrite.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ub-enum.32bit.stderr
ub-enum.64bit.stderr
ub-enum.rs Const stabilize mem::discriminant 2023-09-28 11:07:06 -07:00
ub-incorrect-vtable.32bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-incorrect-vtable.64bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-incorrect-vtable.rs Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
ub-int-array.rs
ub-int-array.stderr
ub-nonnull.chalk.64bit.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
ub-nonnull.rs Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
ub-nonnull.stderr Stop trying to preserve pretty-printing. 2023-10-16 19:15:28 +00:00
ub-ref-ptr.rs also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-ref-ptr.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-slice-get-unchecked.rs
ub-slice-get-unchecked.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ub-uninhabit.rs
ub-uninhabit.stderr
ub-upvars.32bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-upvars.64bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-upvars.rs
ub-wide-ptr.chalk.64bit.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
ub-wide-ptr.rs also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-wide-ptr.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
ub-write-through-immutable.rs compile-time evaluation: emit a lint when a write through an immutable pointer occurs 2023-12-07 17:46:36 +01:00
ub-write-through-immutable.stderr compile-time evaluation: emit a lint when a write through an immutable pointer occurs 2023-12-07 17:46:36 +01:00
union_promotion.rs
union_promotion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
union-const-eval-field.rs Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
union-const-eval-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
union-ice.rs
union-ice.stderr
union-ub.32bit.stderr
union-ub.64bit.stderr
union-ub.rs
unused-broken-const-late.rs add test for const-eval error in dead code during monomorphization 2023-10-08 17:43:46 +02:00
unused-broken-const-late.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-broken-const.rs
unused-broken-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unwind-abort.rs
unwind-abort.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
valid-const.rs
validate_uninhabited_zsts.32bit.stderr
validate_uninhabited_zsts.64bit.stderr
validate_uninhabited_zsts.rs
write-to-uninhabited-enum-variant.rs
zst_operand_eval.rs