rust/src/test/ui/consts/const-eval
2020-09-19 10:57:14 +02:00
..
auxiliary
simd
assign-to-static-within-other-static-2.rs
assign-to-static-within-other-static-2.stderr Suggest to add missing feature when using gated const features 2020-05-04 23:47:00 +02: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
conditional_array_execution.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const_fn_ptr_fail2.rs warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const_fn_ptr_fail2.stderr warn about each skipped feature gate 2020-05-03 14:23:08 +02: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 warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const_let.rs
const_let.stderr update tests 2020-06-20 20:38:57 +00:00
const_panic_libcore_main.rs Abort when catch_unwind catches a foreign exception 2020-08-27 21:08:30 +01:00
const_panic_libcore_main.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
const_panic_libcore.rs
const_panic_libcore.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
const_panic.rs
const_panic.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02: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 Remove the const_raw_ptr_comparison feature gate. 2020-06-19 18:13:41 +02:00
const_raw_ptr_ops2.stderr Remove the const_raw_ptr_comparison feature gate. 2020-06-19 18:13:41 +02: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
const-eval-overflow2.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-eval-overflow2b.rs
const-eval-overflow2b.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-eval-overflow2c.rs
const-eval-overflow2c.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-eval-overflow-2.rs
const-eval-overflow-2.stderr
const-eval-overflow-3.rs ty: convert ErrorHandled::Reported to ConstKind::Error. 2020-04-16 19:00:30 +03:00
const-eval-overflow-3.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-eval-overflow-3b.rs ty: convert ErrorHandled::Reported to ConstKind::Error. 2020-04-16 19:00:30 +03:00
const-eval-overflow-3b.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
const-eval-overflow-4.rs
const-eval-overflow-4.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-eval-overflow-4b.rs
const-eval-overflow-4b.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
const-eval-query-stack.rs Extend normalization in const-eval-query-stack test 2020-08-21 00:00:00 +00:00
const-eval-query-stack.stderr Reflect the "do not call this query directly" mentality in its name 2020-09-19 10:57:14 +02:00
const-eval-span.rs
const-eval-span.stderr
const-pointer-values-in-various-types.rs
const-pointer-values-in-various-types.stderr Stop using the const_eval query for initializers of statics 2020-09-19 10:36:36 +02:00
dangling.rs Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
dangling.stderr fix some cases of unexpected exceptions leaving validation 2020-03-08 22:04:54 +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 more precise span for erroneous consts during CTFE/Miri 2020-08-12 10:48:08 +02:00
erroneous-const.stderr more precise span for erroneous consts during CTFE/Miri 2020-08-12 10:48:08 +02:00
extern_fat_pointer.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01: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 --bless --compare-mode=nll 2020-02-09 20:43:49 +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 better lint names 2020-02-18 22:49:47 +01:00
index_out_of_bounds.rs
index_out_of_bounds.stderr
index-out-of-bounds-never-type.rs Optimize away BitAnd and BitOr when possible 2020-07-22 11:32:36 +02:00
index-out-of-bounds-never-type.stderr Optimize away BitAnd and BitOr when possible 2020-07-22 11:32:36 +02: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
issue-43197.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
issue-44578.rs
issue-44578.stderr
issue-47971.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
issue-49296.rs
issue-49296.stderr fmt, tweak messages and bless 2020-03-11 19:44:23 +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
issue-50814-2.stderr
issue-50814.rs
issue-50814.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
issue-51300.rs Move some more tests to check-pass 2020-03-12 17:22:44 +01:00
issue-52442.rs Update tests 2020-06-28 10:08:12 -07:00
issue-52442.stderr Update tests 2020-06-28 10:08:12 -07:00
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 Rollup merge of #73515 - christianpoveda:livedrop-diagnostics, r=oli-obk 2020-06-23 00:34:00 -07: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 add test 2020-04-05 11:56:02 +02: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 Update tests 2020-06-28 10:08:10 -07:00
match-test-ptr-null.stderr Update tests 2020-06-28 10:08:10 -07:00
mod-static-with-const-fn.rs
mod-static-with-const-fn.stderr Suggest to add missing feature when using gated const features 2020-05-04 23:47:00 +02: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
panic-assoc-never-type.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
panic-never-type.rs
panic-never-type.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02: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 Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
promoted_errors.opt_with_overflow_checks.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
promoted_errors.opt.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
promoted_errors.rs Fix some tests failing in --pass check mode 2020-04-19 17:19:28 +03: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 Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
pub_const_err_bin.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
pub_const_err.rs Move some const-eval build-pass tests to check-pass 2020-03-12 16:58:34 +01:00
pub_const_err.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02: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 Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02: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 Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-nonnull.stderr Stop using the const_eval query for initializers of statics 2020-09-19 10:36:36 +02: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 Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
ub-wide-ptr.stderr Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02: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
unused-broken-const.stderr
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 Stabilize transmute in constants and statics but not const fn 2020-07-11 09:22:17 +02:00
validate_uninhabited_zsts.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02: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