rust/src/test/ui/consts/const-eval
2021-05-15 15:10:14 +02:00
..
auxiliary remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
heap Add 32bit.stderr files. 2021-03-31 09:33:45 +00:00
simd remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
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 check-consts remove cannot mutate statics in initializer of another static error 2019-11-12 13:20:52 +01:00
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 Add a new normalization query just for mir constants 2021-03-31 10:40:42 +00:00
conditional_array_execution.stderr make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const-eval-intrinsic-promotion.rs Check intrinsics for callability in const fns 2019-12-03 10:20:15 +01:00
const-eval-intrinsic-promotion.stderr Check intrinsics for callability in const fns 2019-12-03 10:20:15 +01:00
const-eval-overflow-2.rs Update tests 2020-01-09 21:23:12 +03:00
const-eval-overflow-2.stderr Update tests 2020-01-09 21:23:12 +03:00
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-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-query-stack.rs Revert tests 2021-03-31 11:33:15 +00:00
const-eval-query-stack.stderr Revert tests 2021-03-31 11:33:15 +00:00
const-eval-span.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
const-eval-span.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
const-pointer-values-in-various-types.64bit.stderr Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
const-pointer-values-in-various-types.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
const_fn_ptr.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
const_fn_ptr.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
const_fn_ptr_fail.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
const_fn_ptr_fail.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
const_fn_ptr_fail2.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
const_fn_ptr_fail2.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
const_let.rs rustc_mir: treat DropAndReplace as Drop + Assign in qualify_consts. 2019-07-02 09:33:55 +03:00
const_let.stderr update tests 2020-06-20 20:38:57 +00:00
const_panic.rs Allow/fix non_fmt_panic in tests. 2021-02-03 23:15:45 +01:00
const_panic.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04: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 Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04: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_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_raw_ptr_ops2.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
const_raw_ptr_ops2.stderr fix ui tests referencing pointer-to-integer cast error message 2021-02-05 08:49:59 -08: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 Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
dangling.rs get rid of a bunch of unnecessary NOTE in const tests 2021-05-15 15:10:14 +02:00
dangling.stderr get rid of a bunch of unnecessary NOTE in const tests 2021-05-15 15:10:14 +02:00
dont_promote_unstable_const_fn.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
dont_promote_unstable_const_fn.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
dont_promote_unstable_const_fn_cross_crate.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
dont_promote_unstable_const_fn_cross_crate.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
double_check.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
double_check2.rs We can make const eval sound, it's just super expensive 2020-09-19 10:36:36 +02: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 compiletest: Validate pass modes harder 2019-06-16 12:23:22 +03:00
erroneous-const.rs more erroneous-const tests 2021-05-09 16:07:00 +02:00
erroneous-const.stderr more erroneous-const tests 2021-05-09 16:07:00 +02:00
erroneous-const2.rs more erroneous-const tests 2021-05-09 16:07:00 +02:00
erroneous-const2.stderr more erroneous-const tests 2021-05-09 16:07:00 +02: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 remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
feature-gate-const_fn_union.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
feature-gate-const_panic.rs Remove licenses 2018-12-25 21:08:33 -07:00
feature-gate-const_panic.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
generic-slice.rs Add test cases for #64945 2019-10-01 14:59:16 -07:00
generic-slice.stderr Add test cases for #64945 2019-10-01 14:59:16 -07:00
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-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
index_out_of_bounds.rs Remove licenses 2018-12-25 21:08:33 -07:00
index_out_of_bounds.stderr Make invalid integer operation messages consistent 2020-09-26 13:34:49 +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
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 Add a new normalization query just for mir constants 2021-03-31 10:40:42 +00: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 move 'trait bounds on const fn' to separate feature gate 2021-04-18 18:36:41 +02: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 [const-prop] Fix ICE when trying to eval polymorphic promoted MIR 2019-10-04 10:23:03 -04:00
issue-64970.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
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 Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
panic-never-type.rs make const_err a future incompat lint 2021-02-03 15:45:43 +01:00
panic-never-type.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
promote-static.rs Use the correct type for static qualifs 2019-12-25 21:09:51 +00: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
promoted_const_fn_fail.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
promoted_const_fn_fail.stderr const-eval tests: make all unions repr(C) 2019-08-30 09:35:33 +02:00
promoted_const_fn_fail_deny_const_err.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
promoted_const_fn_fail_deny_const_err.stderr const-eval tests: make all unions repr(C) 2019-08-30 09:35:33 +02:00
promoted_errors.noopt.stderr ensure failing promoteds in const/static bodies are handled correctly 2021-05-09 14:56:34 +02:00
promoted_errors.opt.stderr ensure failing promoteds in const/static bodies are handled correctly 2021-05-09 14:56:34 +02:00
promoted_errors.opt_with_overflow_checks.stderr ensure failing promoteds in const/static bodies are handled correctly 2021-05-09 14:56:34 +02:00
promoted_errors.rs ensure failing promoteds in const/static bodies are handled correctly 2021-05-09 14:56:34 +02: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 update tests for migrate mode by default 2019-04-22 08:40:08 +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
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
ref_to_int_match.32bit.stderr Add 32bit.stderr files. 2021-03-31 09:33:45 +00:00
ref_to_int_match.64bit.stderr Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ref_to_int_match.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00: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 Stabilize str::len, [T]::len, is_empty and str::as_bytes as const fn 2019-09-24 12:56:44 +02:00
transmute-const-promotion.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
transmute-const-promotion.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
transmute-const.32bit.stderr Add 32bit.stderr files. 2021-03-31 09:33:45 +00:00
transmute-const.64bit.stderr Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
transmute-const.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-enum.32bit.stderr Add 32bit.stderr files. 2021-03-31 09:33:45 +00:00
ub-enum.64bit.stderr Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-enum.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-int-array.32bit.stderr Add 32bit.stderr files. 2021-03-31 09:33:45 +00:00
ub-int-array.64bit.stderr Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-int-array.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-nonnull.32bit.stderr Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
ub-nonnull.64bit.stderr Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
ub-nonnull.rs Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
ub-ref-ptr.32bit.stderr Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
ub-ref-ptr.64bit.stderr Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
ub-ref-ptr.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-uninhabit.32bit.stderr Add 32bit.stderr files. 2021-03-31 09:33:45 +00:00
ub-uninhabit.64bit.stderr Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-uninhabit.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-upvars.32bit.stderr Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
ub-upvars.64bit.stderr Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
ub-upvars.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
ub-wide-ptr.32bit.stderr bless 32bit 2021-05-07 17:24:50 +02:00
ub-wide-ptr.64bit.stderr fix null pointer error messages 2021-05-07 15:13:23 +02:00
ub-wide-ptr.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
union-const-eval-field.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
union-const-eval-field.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
union-ice.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
union-ice.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
union-ub.32bit.stderr Add 32bit.stderr files. 2021-03-31 09:33:45 +00:00
union-ub.64bit.stderr Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
union-ub.rs Rename stderr->64bit.stderr where needed. 2021-03-31 08:23:11 +00:00
union_promotion.rs const-eval tests: make all unions repr(C) 2019-08-30 09:35:33 +02:00
union_promotion.stderr const-eval tests: make all unions repr(C) 2019-08-30 09:35:33 +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 Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04: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.32bit.stderr re-bless on 32bit 2021-04-29 12:15:30 +02:00
validate_uninhabited_zsts.64bit.stderr remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
validate_uninhabited_zsts.rs remove const_fn feature gate from const tests 2021-04-29 09:27:45 +02:00
write-to-uninhabited-enum-variant.rs Don't ICE when evaluating writes to uninhabited enum variants 2019-10-18 19:16:49 -04:00
zst_operand_eval.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00