rust/src/test/ui/consts
kennytm 54d4e26b21
Rollup merge of #56919 - oli-obk:null_ref_array_tuple, r=RalfJung
Remove a wrong multiplier on relocation offset computation

r? @RalfJung

fixes #56800
2018-12-23 02:11:51 +08:00
..
auxiliary Don't auto-inline const fn 2018-11-17 17:50:37 +01:00
const-eval Auto merge of #54125 - varkor:less-conservative-uninhabitedness-check, r=nikomatsakis 2018-12-20 22:04:21 +00:00
min_const_fn Auto merge of #56160 - oli-obk:const_fn_let, r=nikomatsakis 2018-12-18 14:21:07 +00:00
std Tidy ♪ all ♪ the ♪ way ♪♪♪♪ with ♪ a ♪ newline ♪ missing ♪ cry ♪♪ 2018-11-10 01:11:06 +01:00
const-array-oob-arith.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-array-oob-arith.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-array-oob.rs Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-array-oob.stderr Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-block-non-item-statement-2.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-block-non-item-statement-2.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-block-non-item-statement-3.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-block-non-item-statement-3.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-block-non-item-statement.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-block-non-item-statement.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-call.rs CTFE: dynamically make sure we do not call non-const-fn 2018-11-16 18:05:08 +01:00
const-call.stderr CTFE: dynamically make sure we do not call non-const-fn 2018-11-16 18:05:08 +01:00
const-cast-different-types.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-cast-different-types.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-cast-wrong-type.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-cast-wrong-type.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-deref-ptr.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-deref-ptr.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-err-early.rs add the lint back to the list, and fix tests 2018-10-25 16:48:15 +02:00
const-err-early.stderr add the lint back to the list, and fix tests 2018-10-25 16:48:15 +02:00
const-err-multi.rs add the lint back to the list, and fix tests 2018-10-25 16:48:15 +02:00
const-err-multi.stderr add the lint back to the list, and fix tests 2018-10-25 16:48:15 +02:00
const-err.rs Deduplicate all the ~~things~~ errors 2018-10-25 16:47:35 +02:00
const-err.stderr Deduplicate all the ~~things~~ errors 2018-10-25 16:47:35 +02:00
const-err2.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-err2.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-err4.rs Make const_eval_raw query return just an AllocId 2018-11-19 22:42:46 +01:00
const-err4.stderr we now do proper validation on scalars 2018-11-19 23:02:28 +01:00
const-expr-addr-operator.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-fn-destructuring-arg.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-fn-destructuring-arg.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-fn-mismatch.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-fn-mismatch.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-fn-not-in-trait.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-fn-not-in-trait.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-fn-not-safe-for-const.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-fn-not-safe-for-const.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const-fn-stability-calls-3.rs Removed #[rustc_error] from tests that are all // compile-pass. 2018-11-07 13:09:52 +01:00
const-int-conversion.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
const-int-conversion.rs Stabilize the int_to_from_bytes feature 2018-11-25 08:29:01 +01:00
const-int-conversion.stderr rebase 2018-09-01 15:05:55 +02:00
const-int-overflowing.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
const-int-overflowing.rs rebase 2018-09-01 15:05:55 +02:00
const-int-overflowing.stderr rebase 2018-09-01 15:05:55 +02:00
const-int-rotate.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
const-int-rotate.rs rebase 2018-09-01 15:05:55 +02:00
const-int-rotate.stderr rebase 2018-09-01 15:05:55 +02:00
const-int-sign.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
const-int-sign.rs rebase 2018-09-01 15:05:55 +02:00
const-int-sign.stderr rebase 2018-09-01 15:05:55 +02:00
const-int-unchecked.rs Update tests 2018-12-04 10:06:05 +01:00
const-int-unchecked.stderr Rebase fallout in ui output 2018-10-25 16:47:35 +02:00
const-int-wrapping.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
const-int-wrapping.rs rebase 2018-09-01 15:05:55 +02:00
const-int-wrapping.stderr rebase 2018-09-01 15:05:55 +02:00
const-integer-bool-ops.rs Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-integer-bool-ops.stderr Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-len-underflow-separate-spans.rs Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-len-underflow-separate-spans.stderr Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-len-underflow-subspans.rs Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-len-underflow-subspans.stderr Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-match-check.eval1.stderr Update existing tests with more precise error messages 2018-11-30 13:53:15 +00:00
const-match-check.eval2.stderr Update existing tests with more precise error messages 2018-11-30 13:53:15 +00:00
const-match-check.matchck.stderr Update existing tests with more precise error messages 2018-11-30 13:53:15 +00:00
const-match-check.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-match-pattern-arm.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-match-pattern-arm.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-pattern-irrefutable.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
const-pattern-irrefutable.stderr Update existing tests with more precise error messages 2018-11-30 13:53:15 +00:00
const-pattern-not-const-evaluable.rs Stabilize min_const_fn 2018-10-05 10:36:14 +02:00
const-prop-ice.rs Fix tidy 2018-11-09 10:11:20 +01:00
const-prop-ice.stderr Prevent ICE in const-prop array oob check 2018-11-08 20:15:13 +01:00
const-prop-ice2.rs Fix tidy 2018-11-09 10:11:20 +01:00
const-prop-ice2.stderr Add more regression tests 2018-11-08 20:18:26 +01:00
const-size_of-cycle.rs Add rustc SHA to released DWARF debuginfo 2018-09-10 10:10:38 -07:00
const-size_of-cycle.stderr fix ui tests (rebase fallout) 2018-10-25 16:48:15 +02:00
const-slice-oob.rs add the lint back to the list, and fix tests 2018-10-25 16:48:15 +02:00
const-slice-oob.stderr add the lint back to the list, and fix tests 2018-10-25 16:48:15 +02:00
const-tup-index-span.rs Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-tup-index-span.stderr Report const eval error inside the query 2018-10-25 16:46:19 +02:00
const-type-mismatch.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-type-mismatch.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-typeid-of.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-typeid-of.stderr Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
const-unsized.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
const-unsized.stderr Check the type of statics and constants for Sizedness 2018-10-16 17:01:24 +02:00
const-validation-fail-55455.rs Fix wrong validation clasisfication of Option<&T>::Some values 2018-10-29 15:22:47 +01:00
const_fn_return_nested_fn_ptr.rs Don't auto-inline const fn 2018-11-17 17:50:37 +01:00
const_let_assign.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_assign2.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_assign3.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_assign3.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_eq.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_eq_float.rs Test float assign ops 2018-11-30 09:44:16 +01:00
const_short_circuit.rs Improve the diagnostic message 2018-11-30 09:44:15 +01:00
const_short_circuit.stderr Explain that lack of short circuiting support in constants is temporary 2018-12-18 09:42:46 +01:00
dangling-alloc-id-ice.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
dangling-alloc-id-ice.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
dangling_raw_ptr.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
dangling_raw_ptr.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
int_ptr_for_zst_slices.rs Reintroduce zst-slice reading read_bytes method on Memory 2018-11-24 11:36:32 +01:00
issue-54224.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
issue-54224.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
issue-56164.rs Fix const_fn ICE with non-const function pointer 2018-11-30 08:43:50 +01:00
issue-56164.stderr Fix const_fn ICE with non-const function pointer 2018-11-30 08:43:50 +01:00
partial_qualif.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
partial_qualif.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
projection_qualif.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
projection_qualif.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_const_let.nll.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_const_let.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_const_let.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_fn_calls.rs Add missing rustc_promotable attribute to unsigned min_value and max_value 2018-11-09 17:55:24 +01:00
promote_fn_calls_std.rs Add missing rustc_promotable attribute to unsigned min_value and max_value 2018-11-09 17:55:24 +01:00
promoted-validation-55454.rs Fix wrong validation clasisfication of Option<&T>::Some values 2018-10-29 15:22:47 +01:00
promoted_regression.rs Remove a wrong multiplier on relocation offset computation 2018-12-17 16:47:26 +01:00
qualif_overwrite.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
qualif_overwrite.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
qualif_overwrite_2.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
qualif_overwrite_2.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
single_variant_match_ice.rs Add a test for single variant matches 2018-11-30 09:44:06 +01:00
single_variant_match_ice.stderr Add a test for single variant matches 2018-11-30 09:44:06 +01:00
validate_never_arrays.rs Clean up array/slice of primitive validation 2018-11-24 11:36:32 +01:00
validate_never_arrays.stderr Update tests 2018-12-11 12:19:23 +00:00