rust/tests/ui/consts/const-eval
2024-01-22 09:28:00 +01:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
heap const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
simd Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_fn_ptr_fail2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_fn_ptr_fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_fn_ptr_fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_fn_ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_fn_ptr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add const-eval test for #[target_feature(enable = ...)] function calls 2023-07-16 13:20:06 +02:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_panic_2021.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_panic_2021.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_panic_libcore_bin.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_panic_libcore_bin.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_panic_stability.e2018.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_panic_track_caller.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Don't forget to normalize the translated message 2023-09-03 17:10:42 +02:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_panic.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_prop_errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_raw_ptr_ops2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const_raw_ptr_ops.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const_signed_pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-intrinsic-promotion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow2b.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow2b.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow2c.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow2c.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow-2.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
const-eval-overflow-2.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
const-eval-overflow-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow-3b.stderr Don't sort strings right after we just sorted by types 2023-06-27 23:31:06 +00:00
const-eval-overflow-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-overflow-4b.stderr Don't sort strings right after we just sorted by types 2023-06-27 23:31:06 +00:00
const-eval-query-stack.rs Auto merge of #112849 - m-ou-se:panic-message-format, r=thomcc 2023-08-01 14:15:09 +00:00
const-eval-query-stack.stderr Auto merge of #119821 - oli-obk:reveal_all_const_evals, r=lcnr 2024-01-20 04:57:51 +00:00
const-eval-span.rs Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
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 validation: point at where we found a pointer but expected an integer 2023-08-02 18:51:50 +02:00
const-pointer-values-in-various-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont_promote_unstable_const_fn_cross_crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont_promote_unstable_const_fn_cross_crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont_promote_unstable_const_fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont_promote_unstable_const_fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double_check2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double_check.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duration_conversion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum_discr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
erroneous-const2.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
erroneous-const2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
erroneous-const.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
erroneous-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern_fat_pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
format.rs Don't allow new const panic through format flattening. 2023-03-16 11:21:50 +01:00
format.stderr Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
generic-slice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generic-slice.stderr Extend and use hir::Node::body_id 2023-04-19 19:13:45 +00:00
ice-generic-assoc-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ice-packed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
index_out_of_bounds_propagated.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Skip dead code checks on items that failed typeck 2024-01-16 10:52:28 +00:00
infinite_loop.stderr Skip dead code checks on items that failed typeck 2024-01-16 10:52:28 +00:00
issue-43197.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43197.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-44578.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-44578.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-47971.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-49296.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-49296.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-50706.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50814-2.mir-opt.stderr Replace legacy ConstProp by GVN. 2023-12-24 20:08:57 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50814.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-51300.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-52475.rs Remove const eval limit and implement an exponential backoff lint instead 2023-05-31 10:24:17 +00:00
issue-52475.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-53157.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-53401.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-55541.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64908.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64970.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65394.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65394.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-70723.rs Remove const eval limit and implement an exponential backoff lint instead 2023-05-31 10:24:17 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84957-const-str-as-bytes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85155.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85155.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-85907.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Ensure mir_drops_elaborated_and_const_checked when requiring codegen. 2023-04-21 16:14:43 +00:00
issue-104390.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104390.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-114994-fail.rs test(const_eval): add test cases for #114994 2023-09-22 19:43:02 -05:00
issue-114994-fail.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-114994.rs test(const_eval): add test cases for #114994 2023-09-22 19:43:02 -05:00
livedrop.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
livedrop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
match-test-ptr-null.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 add tests for const NonNull::as_ref 2023-05-23 12:52:35 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promote-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_const_fn_fail_deny_const_err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_errors.opt_with_overflow_checks.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_errors.opt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_errors.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
promoted_raw_ptr_ops.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_raw_ptr_ops.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 const validation: point at where we found a pointer but expected an integer 2023-08-02 18:51:50 +02:00
ref_to_int_match.64bit.stderr const validation: point at where we found a pointer but expected an integer 2023-08-02 18:51:50 +02:00
ref_to_int_match.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
shift_overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shift_overflow.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
simple_with_undef.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
size-of-t.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
transmute-const-promotion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
transmute-size-mismatch.rs Add CastKind::Transmute to MIR 2023-03-22 15:15:41 -07:00
transmute-size-mismatch.stderr Add CastKind::Transmute to MIR 2023-03-22 15:15:41 -07:00
ub-enum-overwrite.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ub-enum-overwrite.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ub-enum.rs remove an unnecessary stderr-per-bitwidth 2024-01-06 14:54:08 +01:00
ub-enum.stderr remove an unnecessary stderr-per-bitwidth 2024-01-06 14:54:08 +01: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 Fix ub-int-array test for big-endian platforms 2023-08-24 12:49:53 +02:00
ub-int-array.stderr Fix ub-int-array test for big-endian platforms 2023-08-24 12:49:53 +02:00
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 fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
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 remove an unnecessary stderr-per-bitwidth 2024-01-06 14:54:08 +01:00
ub-uninhabit.stderr read_via_copy: don't prematurely optimize away the read 2023-09-04 18:27:34 +02:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
union-ice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
union-ub.32bit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
union-ub.64bit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
union-ub.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-broken-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unwind-abort.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
unwind-abort.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
valid-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
validate_uninhabited_zsts.32bit.stderr Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
validate_uninhabited_zsts.64bit.stderr Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
validate_uninhabited_zsts.rs Detect uninhabited types early in const eval. 2023-03-21 11:09:27 +00:00
write-to-uninhabited-enum-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
zst_operand_eval.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00