rust/src/test/ui/consts
2019-03-23 13:05:30 -07:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
const-eval Deduplicate const eval error spans for better output 2019-03-23 13:05:30 -07:00
min_const_fn Update NLL tests 2019-03-11 23:18:35 +03:00
miri_unleashed rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
std Tidy ♪ all ♪ the ♪ way ♪♪♪♪ with ♪ a ♪ newline ♪ missing ♪ cry ♪♪ 2018-11-10 01:11:06 +01:00
const-array-oob-arith.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-array-oob-arith.stderr Update tests 2019-03-11 23:10:26 +03:00
const-array-oob.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-array-oob.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-block-non-item-statement.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
const-call.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-call.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-cast-different-types.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-cast-different-types.stderr Update tests 2019-03-11 23:10:26 +03:00
const-cast-wrong-type.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-cast-wrong-type.stderr Update tests 2019-03-11 23:10:26 +03:00
const-deref-ptr.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-deref-ptr.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-err-early.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err-early.stderr Swap const evaluation lint spans to point at problem in primary span 2019-03-23 13:05:30 -07:00
const-err-multi.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err-multi.stderr Swap const evaluation lint spans to point at problem in primary span 2019-03-23 13:05:30 -07:00
const-err.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err.stderr Swap const evaluation lint spans to point at problem in primary span 2019-03-23 13:05:30 -07:00
const-err2.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-err4.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err4.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-expr-addr-operator.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-destructuring-arg.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
const-fn-mismatch.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-mismatch.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-not-in-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-not-in-trait.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-not-safe-for-const.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
const-fn-not-safe-for-const.stderr Update tests 2019-03-11 23:10:26 +03:00
const-fn-stability-calls-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-conversion.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
const-int-conversion.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-conversion.stderr Update tests 2019-03-11 23:10:26 +03:00
const-int-overflowing.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
const-int-overflowing.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-overflowing.stderr Update tests 2019-03-11 23:10:26 +03:00
const-int-rotate.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
const-int-rotate.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-rotate.stderr Update tests 2019-03-11 23:10:26 +03:00
const-int-sign.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
const-int-sign.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-sign.stderr Update tests 2019-03-11 23:10:26 +03:00
const-int-unchecked.rs unchecked_{shl,shr}: extend const tests. 2018-12-31 03:36:46 +01:00
const-int-unchecked.stderr Swap const evaluation lint spans to point at problem in primary span 2019-03-23 13:05:30 -07:00
const-int-wrapping.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
const-int-wrapping.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-wrapping.stderr Update tests 2019-03-11 23:10:26 +03:00
const-integer-bool-ops.rs Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
const-integer-bool-ops.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
const-len-underflow-separate-spans.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-len-underflow-separate-spans.stderr Swap const evaluation lint spans to point at problem in primary span 2019-03-23 13:05:30 -07:00
const-len-underflow-subspans.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-len-underflow-subspans.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.eval1.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.eval2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.matchck.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-match-pattern-arm.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-match-pattern-arm.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-nonzero.rs Update src/test/ui/consts/const-nonzero.rs 2018-12-28 17:45:49 +05:30
const-pattern-irrefutable.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-pattern-irrefutable.stderr Update tests 2019-03-11 23:10:26 +03:00
const-pattern-not-const-evaluable.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-prop-ice.rs Fix tidy 2018-11-09 10:11:20 +01:00
const-prop-ice.stderr Update tests 2019-03-11 23:10:26 +03:00
const-prop-ice2.rs Fix tidy 2018-11-09 10:11:20 +01:00
const-prop-ice2.stderr Update tests 2019-03-11 23:10:26 +03:00
const-ptr-nonnull.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
const-ptr-nonnull.rs Make Unique::as_ptr, NonNull::dangling and NonNull::cast const 2019-02-28 07:32:13 +01:00
const-ptr-nonnull.stderr Update tests 2019-03-11 23:10:26 +03:00
const-ptr-unique.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
const-ptr-unique.rs Make Unique::as_ptr, NonNull::dangling and NonNull::cast const 2019-02-28 07:32:13 +01:00
const-ptr-unique.stderr Update tests 2019-03-11 23:10:26 +03:00
const-size_of-cycle.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-size_of-cycle.stderr rustc: provide DisambiguatedDefPathData in ty::print. 2019-03-15 13:25:10 +02:00
const-slice-oob.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-slice-oob.stderr Swap const evaluation lint spans to point at problem in primary span 2019-03-23 13:05:30 -07:00
const-tup-index-span.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-tup-index-span.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-type-mismatch.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-type-mismatch.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-typeid-of.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-typeid-of.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-unsized.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-unsized.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05: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 Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
const_let_assign2.rs const fn feature gate is not needed anymore in a lot of tests 2019-01-09 10:20:44 +01:00
const_let_assign3.rs const fn feature gate is not needed anymore in a lot of tests 2019-01-09 10:20:44 +01:00
const_let_assign3.stderr Update tests 2019-03-11 23:10:26 +03:00
const_let_eq.rs const fn feature gate is not needed anymore in a lot of tests 2019-01-09 10:20:44 +01:00
const_let_eq_float.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
const_let_irrefutable.rs Fix irrefutable slice patterns in const fn 2019-01-09 11:32:56 +01:00
const_let_refutable.rs Fix irrefutable slice patterns in const fn 2019-01-09 11:32:56 +01:00
const_let_refutable.stderr Update tests 2019-03-11 23:10:26 +03:00
const_short_circuit.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +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 Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
dangling-alloc-id-ice.stderr Deduplicate const eval error spans for better output 2019-03-23 13:05:30 -07:00
dangling_raw_ptr.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
dangling_raw_ptr.stderr Deduplicate const eval error spans for better output 2019-03-23 13:05:30 -07:00
drop_none.rs Allow evaluating trivial drop glue in constants 2019-01-18 13:31:05 +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
invalid_promotion.rs Don't promote function calls to nonpromotable things 2019-02-27 17:41:25 +01:00
issue-54224.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
issue-54224.stderr Update tests 2019-03-11 23:10:26 +03: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
match_ice.rs Add regression test 2019-01-22 17:22:30 +01:00
match_ice.stderr Update tests 2019-03-11 23:10:26 +03:00
partial_qualif.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
partial_qualif.stderr Update tests 2019-03-11 23:10:26 +03:00
projection_qualif.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
projection_qualif.stderr Update tests 2019-03-11 23:10:26 +03:00
promote_const_let.nll.stderr Update NLL tests 2019-03-11 23:18:35 +03:00
promote_const_let.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
promote_const_let.stderr Update tests 2019-03-11 23:10:26 +03:00
promote_evaluation_unused_result.rs compile-pass test for #53606 2019-02-15 14:28:24 +05:30
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 Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
qualif_overwrite.stderr Update tests 2019-03-11 23:10:26 +03:00
qualif_overwrite_2.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
qualif_overwrite_2.stderr Update tests 2019-03-11 23:10:26 +03: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 Update tests 2019-03-11 23:10:26 +03:00
static_mut_containing_mut_ref.rs Fix a recently introduces regression 2018-12-21 11:27:29 +01:00
static_mut_containing_mut_ref2.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
static_mut_containing_mut_ref2.stderr Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
static_mut_containing_mut_ref3.rs Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
static_mut_containing_mut_ref3.stderr Stabilize let bindings and destructuring in constants and const fn 2019-01-09 10:20:12 +01:00
union_constant.rs Unregress using scalar unions in constants. 2019-03-12 17:37:22 +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 2019-03-11 23:10:26 +03:00