rust/src/test/ui/consts/const-eval
2021-02-03 15:45:43 +01:00
..
auxiliary
heap make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
simd
assign-to-static-within-other-static-2.rs Bless mut tests 2020-09-29 19:20:33 -07:00
assign-to-static-within-other-static-2.stderr Bless mut tests 2020-09-29 19:20:33 -07:00
assign-to-static-within-other-static.rs
assign-to-static-within-other-static.stderr bless; add test for mutating a static 2020-03-24 08:27:46 +01:00
conditional_array_execution.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
conditional_array_execution.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_fn_ptr_fail2.rs clean up some const error reporting around promoteds 2021-01-24 13:34:34 +01:00
const_fn_ptr_fail2.stderr clean up some const error reporting around promoteds 2021-01-24 13:34:34 +01:00
const_fn_ptr_fail.rs warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const_fn_ptr_fail.stderr warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const_fn_ptr.rs warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const_fn_ptr.stderr Bless tests 2020-09-27 10:46:41 -07:00
const_let.rs
const_let.stderr update tests 2020-06-20 20:38:57 +00:00
const_panic_libcore_bin.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_panic_libcore_bin.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_panic.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_panic.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_prop_errors.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
const_raw_ptr_ops2.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_raw_ptr_ops2.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_raw_ptr_ops.rs Satisfy tidy 2020-06-20 14:15:36 +02:00
const_raw_ptr_ops.stderr Refer just to the issue in the raw ptr cmp diagnostic instead of explaining everything in the diagnostic 2020-06-20 14:09:07 +02:00
const_signed_pat.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
const_transmute.rs
const-eval-intrinsic-promotion.rs
const-eval-intrinsic-promotion.stderr
const-eval-overflow2.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-overflow2.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-overflow2b.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-overflow2b.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-overflow2c.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-overflow2c.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-overflow-2.rs
const-eval-overflow-2.stderr
const-eval-overflow-3.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-overflow-3.stderr Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-overflow-3b.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-overflow-3b.stderr Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-overflow-4.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-overflow-4.stderr Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-overflow-4b.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-overflow-4b.stderr Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
const-eval-query-stack.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-query-stack.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-span.rs
const-eval-span.stderr
const-pointer-values-in-various-types.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-pointer-values-in-various-types.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
dangling.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
dangling.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
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 We can make const eval sound, it's just super expensive 2020-09-19 10:36:36 +02:00
double_check.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
double_promotion.rs Move some more tests to check-pass 2020-03-12 17:22:44 +01:00
duration_conversion.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
enum_discr.rs
erroneous-const.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
erroneous-const.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
extern_fat_pointer.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
feature-gate-const_fn_union.rs
feature-gate-const_fn_union.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
feature-gate-const_panic.rs
feature-gate-const_panic.stderr Implement new panic!() behaviour for Rust 2021. 2021-01-25 13:48:11 +01:00
generic-slice.rs
generic-slice.stderr
ice-generic-assoc-const.rs adjust tests 2020-04-24 16:18:19 -04:00
ice-packed.rs Move some more tests to check-pass 2020-03-12 17:22:44 +01:00
index_out_of_bounds_propagated.rs fix tests, and use variants to test debug and release builds together 2020-02-15 10:47:27 +01:00
index_out_of_bounds_propagated.stderr Make invalid integer operation messages consistent 2020-09-26 13:34:49 +01:00
index_out_of_bounds.rs
index_out_of_bounds.stderr Make invalid integer operation messages consistent 2020-09-26 13:34:49 +01:00
index-out-of-bounds-never-type.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
index-out-of-bounds-never-type.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
infinite_loop.rs Update tests 2020-06-28 10:08:12 -07:00
infinite_loop.stderr Update tests 2020-06-28 10:08:12 -07:00
issue-43197.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-43197.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-44578.rs clean up some const error reporting around promoteds 2021-01-24 13:34:34 +01:00
issue-44578.stderr clean up some const error reporting around promoteds 2021-01-24 13:34:34 +01:00
issue-47971.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
issue-49296.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-49296.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-50706.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
issue-50814-2.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-50814-2.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-50814.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-50814.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
issue-51300.rs Move some more tests to check-pass 2020-03-12 17:22:44 +01:00
issue-52442.rs fix tests and formatting 2020-11-12 21:08:18 +05:30
issue-52442.stderr fix tests and formatting 2020-11-12 21:08:18 +05:30
issue-52475.rs Update tests 2020-06-28 10:08:12 -07:00
issue-52475.stderr Update tests 2020-06-28 10:08:12 -07:00
issue-53157.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
issue-53401.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
issue-55541.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
issue-64908.rs
issue-64970.rs
issue-65394.rs update diagnostics for &mut in constants 2020-06-19 11:48:46 -05:00
issue-65394.stderr Permit mutable references in all const contexts 2021-01-23 11:33:45 +00:00
issue-70723.rs Update tests 2020-06-28 10:08:12 -07:00
issue-70723.stderr Update tests 2020-06-28 10:08:12 -07:00
issue-70804-fn-subtyping.rs Update tests with new feature gate 2020-09-27 10:46:41 -07:00
livedrop.rs Update tests 2020-06-28 10:08:12 -07:00
livedrop.stderr Update tests 2020-06-28 10:08:12 -07:00
match-test-ptr-null.rs fix tests and formatting 2020-11-12 21:08:18 +05:30
match-test-ptr-null.stderr fix tests and formatting 2020-11-12 21:08:18 +05:30
mod-static-with-const-fn.rs Bless mut tests 2020-09-29 19:20:33 -07:00
mod-static-with-const-fn.stderr Bless output 2020-09-29 19:20:33 -07:00
no_lint_for_statically_known_error.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
nrvo.rs Don't unleash NRVO const-eval test 2020-05-17 10:23:44 -07:00
panic-assoc-never-type.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
panic-assoc-never-type.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
panic-never-type.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
panic-never-type.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
promote_mutable_zst_mir_borrowck.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
promote-static.rs
promoted_const_fn_fail_deny_const_err.rs
promoted_const_fn_fail_deny_const_err.stderr
promoted_const_fn_fail.rs
promoted_const_fn_fail.stderr
promoted_errors.noopt.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
promoted_errors.opt_with_overflow_checks.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
promoted_errors.opt.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
promoted_errors.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
promoted_raw_ptr_ops.rs Remove the const_raw_ptr_comparison feature gate. 2020-06-19 18:13:41 +02:00
promoted_raw_ptr_ops.stderr
pub_const_err_bin.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
pub_const_err_bin.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
pub_const_err.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
pub_const_err.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
ref_to_int_match.rs
ref_to_int_match.stderr Pointer printing: do not print 0 offset 2020-05-12 13:30:50 +02:00
shift_overflow.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
shift_overflow.stderr Make invalid integer operation messages consistent 2020-09-26 13:34:49 +01:00
simple_with_undef.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
strlen.rs
transmute-const-promotion.rs
transmute-const-promotion.stderr
transmute-const.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
transmute-const.stderr Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-enum.rs Rollup merge of #72920 - oli-obk:const_transmute, r=RalfJung 2020-07-11 08:53:06 -07:00
ub-enum.stderr Stop using the const_eval query for initializers of statics 2020-09-19 10:36:36 +02:00
ub-int-array.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-int-array.stderr Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-nonnull.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
ub-nonnull.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
ub-ref.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-ref.stderr Stop using the const_eval query for initializers of statics 2020-09-19 10:36:36 +02:00
ub-uninhabit.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-uninhabit.stderr Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-upvars.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-upvars.stderr Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-wide-ptr.rs validation test: turn some const_err back into validation failures 2021-01-17 19:49:20 +01:00
ub-wide-ptr.stderr validation test: turn some const_err back into validation failures 2021-01-17 19:49:20 +01:00
union_promotion.rs
union_promotion.stderr
union-const-eval-field.rs
union-const-eval-field.stderr
union-ice.rs
union-ice.stderr switch back to 'bytes' 2020-04-16 13:19:51 +02:00
union-ub.rs const validation: add test for uninit bool 2020-07-05 13:48:06 +02:00
union-ub.stderr const validation: add test for uninit bool 2020-07-05 13:48:06 +02:00
unused-broken-const.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
unused-broken-const.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
unwind-abort.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
unwind-abort.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
valid-const.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
validate_uninhabited_zsts.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
validate_uninhabited_zsts.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
write-to-uninhabited-enum-variant.rs
zst_operand_eval.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00