rust/src/test/ui/consts
2020-06-30 21:03:34 +02:00
..
auxiliary
const_constructor
const_in_pattern Update tests 2020-06-28 10:08:10 -07:00
const_limit Update tests 2020-06-28 10:08:12 -07:00
const-eval Update tests 2020-06-28 10:08:12 -07:00
const-extern-fn
const-mut-refs add new error code 2020-06-19 14:16:38 -05:00
control-flow Update tests 2020-06-28 10:08:12 -07:00
min_const_fn Update tests 2020-06-28 10:08:12 -07:00
miri_unleashed Bless failing tests 2020-06-30 21:03:34 +02:00
rfc-2203-const-array-repeat-exprs
std
array-literal-index-oob.rs
array-literal-index-oob.stderr
ascii_ctype.rs
assoc_const_generic_impl.rs
assoc_const_generic_impl.stderr
assoc-const.rs
associated_const_generic.rs
bswap-const.rs
cast-discriminant-zst-enum.rs
chained-constants-stackoverflow.rs
const_arg_local.rs
const_arg_local.stderr
const_arg_promotable2.rs
const_arg_promotable2.stderr
const_arg_promotable.rs
const_arg_promotable.stderr
const_arg_wrapper.rs
const_arg_wrapper.stderr
const_discriminant.rs
const_fn_return_nested_fn_ptr.rs
const_forget.rs
const_let_assign2.rs
const_let_assign3.rs update diagnostics for &mut in constants 2020-06-19 11:48:46 -05:00
const_let_assign3.stderr add new error code 2020-06-19 14:16:38 -05:00
const_let_assign.rs
const_let_eq_float.rs
const_let_eq.rs
const_let_irrefutable.rs
const_let_promote.rs
const_let_refutable.rs Update tests 2020-06-28 10:08:10 -07:00
const_let_refutable.stderr Update tests 2020-06-28 10:08:10 -07:00
const_prop_slice_pat_ice.rs
const_short_circuit.rs Update tests 2020-06-28 10:08:10 -07:00
const-address-of-interior-mut.rs
const-address-of-interior-mut.stderr
const-address-of-mut.rs
const-address-of-mut.stderr
const-address-of.rs
const-adt-align-mismatch.rs
const-array-oob-arith.rs
const-array-oob-arith.stderr
const-array-oob.rs
const-array-oob.stderr
const-autoderef.rs
const-big-enum.rs
const-binops.rs
const-bitshift-rhs-inference.rs
const-block-cross-crate-fn.rs
const-block-item-macro-codegen.rs
const-block-item.rs
const-block-non-item-statement-3.rs
const-block-non-item-statement-rpass.rs
const-block-non-item-statement.rs
const-block.rs
const-bound.rs
const-byte-str-cast.rs
const-call.rs
const-call.stderr
const-cast-different-types.rs
const-cast-different-types.stderr
const-cast-ptr-int.rs
const-cast-wrong-type.rs
const-cast-wrong-type.stderr
const-cast.rs
const-const.rs
const-contents.rs
const-cross-crate-const.rs
const-cross-crate-extern.rs
const-deref-ptr.rs
const-deref-ptr.stderr
const-deref.rs
const-endianess.rs
const-enum-byref-self.rs
const-enum-byref.rs
const-enum-cast.rs
const-enum-ptr.rs
const-enum-struct2.rs
const-enum-struct.rs
const-enum-structlike.rs
const-enum-tuple2.rs
const-enum-tuple.rs
const-enum-tuplestruct2.rs
const-enum-tuplestruct.rs
const-enum-vec-index.rs
const-enum-vec-ptr.rs
const-enum-vector.rs
const-err2.noopt.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-err2.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
const-err2.opt.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-err2.rs
const-err4.rs
const-err4.stderr
const-err-early.rs
const-err-early.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-err-multi.rs
const-err-multi.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-err-rpass.rs
const-err.rs
const-err.stderr
const-expr-addr-operator.rs
const-expr-in-fixed-length-vec.rs
const-expr-in-vec-repeat.rs
const-extern-function.rs
const-external-macro-const-err.rs
const-external-macro-const-err.stderr
const-fields-and-indexing.rs
const-fn-const-eval.rs
const-fn-destructuring-arg.rs
const-fn-feature-flags.rs
const-fn-method.rs
const-fn-mismatch.rs
const-fn-mismatch.stderr
const-fn-nested.rs
const-fn-not-in-trait.rs
const-fn-not-in-trait.stderr
const-fn-not-safe-for-const.rs
const-fn-not-safe-for-const.stderr
const-fn-stability-calls-3.rs
const-fn-stability-calls.rs
const-fn-type-name-any.rs
const-fn-type-name.rs
const-fn-val.rs
const-fn-zst-args.rs
const-fn.rs
const-index-feature-gate.rs
const-int-arithmetic-overflow.rs
const-int-arithmetic.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-conversion-rpass.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-conversion.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-conversion.stderr Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-overflowing-rpass.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-overflowing.rs
const-int-overflowing.stderr
const-int-pow-rpass.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-rotate-rpass.rs
const-int-rotate.rs
const-int-rotate.stderr
const-int-saturating-arith.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-sign-rpass.rs
const-int-sign.rs
const-int-sign.stderr
const-int-unchecked.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-unchecked.stderr Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-wrapping-rpass.rs Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
const-int-wrapping.rs
const-int-wrapping.stderr
const-integer-bool-ops.rs
const-integer-bool-ops.stderr
const-labeled-break.rs Update tests 2020-06-28 10:08:12 -07:00
const-len-underflow-separate-spans.rs
const-len-underflow-separate-spans.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-len-underflow-subspans.rs Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-len-underflow-subspans.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-match-check.eval1.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-match-check.eval2.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-match-check.matchck.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-match-check.rs
const-match-pattern-arm.rs Update tests 2020-06-28 10:08:10 -07:00
const-meth-pattern.rs
const-multi-ref.rs update diagnostics for &mut in constants 2020-06-19 11:48:46 -05:00
const-multi-ref.stderr add new error code 2020-06-19 14:16:38 -05:00
const-needs_drop.rs
const-negation.rs
const-negative.rs
const-nonzero.rs
const-nullary-enum.rs
const-nullary-univariant-enum.rs
const-pattern-irrefutable.rs Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-pattern-irrefutable.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
const-pattern-not-const-evaluable.rs
const-pattern-variant.rs
const-points-to-static.rs warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const-points-to-static.stderr warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const-prop-ice2.rs
const-prop-ice2.stderr
const-prop-ice3.rs
const-prop-ice.rs
const-prop-ice.stderr
const-prop-overflowing-casts.rs
const-prop-read-static-in-const.rs warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const-prop-read-static-in-const.stderr warn about each skipped feature gate 2020-05-03 14:23:08 +02:00
const-ptr-nonnull-rpass.rs
const-ptr-nonnull.rs
const-ptr-nonnull.stderr
const-ptr-unique-rpass.rs rename-unique: Rename Unique::empty() to Unique::dangling() 2020-04-30 11:00:45 +02:00
const-ptr-unique.rs
const-ptr-unique.stderr
const-rec-and-tup.rs
const-region-ptrs-noncopy.rs
const-region-ptrs.rs
const-repeated-values.rs
const-size_of-align_of.rs
const-size_of-cycle.rs
const-size_of-cycle.stderr avoid computing precise span for const_eval query 2020-06-13 13:47:37 +02:00
const-slice-oob.rs
const-slice-oob.stderr
const-str-ptr.rs
const-struct-offsets.rs
const-struct.rs
const-trait-to-trait.rs
const-tup-index-span.rs
const-tup-index-span.stderr
const-tuple-struct.rs
const-type-mismatch.rs
const-type-mismatch.stderr
const-typeid-of-rpass.rs
const-typeid-of.rs
const-typeid-of.stderr
const-unit-struct.rs
const-unsafe-fn.rs
const-unsized.rs
const-unsized.stderr
const-validation-fail-55455.rs
const-variant-count.rs Fix tests 2020-06-24 15:10:10 +01:00
const-vec-of-fns.rs
const-vec-syntax.rs
const-vecs-and-slices.rs
const.rs
consts-in-patterns.rs
dangling_raw_ptr.rs avoid raising interpreter errors from interning 2020-05-10 11:47:20 +02:00
dangling_raw_ptr.stderr avoid raising interpreter errors from interning 2020-05-10 11:47:20 +02:00
dangling-alloc-id-ice.rs avoid raising interpreter errors from interning 2020-05-10 11:47:20 +02:00
dangling-alloc-id-ice.stderr avoid raising interpreter errors from interning 2020-05-10 11:47:20 +02:00
deref_in_pattern.rs
drop_none.rs
enum-discr-type-err.rs
enum-discr-type-err.stderr fix is_const_context 2020-05-20 14:57:16 +02:00
huge-values.rs
ice-48279.rs
ice-zst-static-access.rs Name test appropriately and link to the issues it regress-checks for 2020-05-01 17:45:10 +02:00
inline_asm.rs Check for llvm_asm in a const context 2020-04-19 17:50:56 -07:00
inline_asm.stderr Assign correct span to new illegal ops 2020-04-21 09:24:41 -07:00
int_ptr_for_zst_slices.rs
invalid_promotion.rs
is_ascii.rs
issue-37550.rs
issue-51559.rs
issue-51559.stderr
issue-52432.rs
issue-52432.stderr
issue-54224.rs
issue-54224.stderr
issue-56164.rs
issue-56164.stderr
issue-62045.rs
issue-63226.rs
issue-63952.rs
issue-63952.stderr
issue-64059.rs
issue-64506.rs
issue-64662.rs
issue-64662.stderr
issue-65348.rs
issue-66342.rs
issue-66345.rs
issue-66397.rs
issue-66787.rs
issue-67529.rs
issue-67640.rs
issue-67641.rs
issue-67696-const-prop-ice.rs
issue-67862.rs
issue-68264-overflow.rs
issue-68542-closure-in-array-len.rs
issue-68542-closure-in-array-len.stderr
issue-68684.rs
issue-69191-ice-on-uninhabited-enum-field.rs
issue-69310-array-size-lit-wrong-ty.rs
issue-69310-array-size-lit-wrong-ty.stderr
issue-69312.rs
issue-70773-mir-typeck-lt-norm.rs normalize field projection ty to fix broken MIR issue 2020-04-23 18:14:01 -03:00
issue-70942-trait-vs-impl-mismatch.rs
issue-70942-trait-vs-impl-mismatch.stderr
issue-broken-mir.rs
locals-in-const-fn.rs
match_ice.rs
match_ice.stderr
match-const-fn-structs.rs
mozjs-error.rs
non-scalar-cast.rs
offset_from_ub.rs
offset_from_ub.stderr Bless failing tests 2020-06-30 21:03:34 +02:00
offset_from.rs
offset_ub.rs Add checks and tests for computing abs(offset_bytes) 2020-05-26 02:06:18 -07:00
offset_ub.stderr Bless failing tests 2020-06-30 21:03:34 +02:00
offset.rs test/ui/consts: Add tests for const ptr offsets 2020-05-25 13:09:02 -07:00
packed_pattern2.rs
packed_pattern2.stderr
packed_pattern.rs
packed_pattern.stderr
partial_qualif.rs
partial_qualif.stderr
projection_qualif.mut_refs.stderr add new error code 2020-06-19 14:16:38 -05:00
projection_qualif.rs update diagnostics for &mut in constants 2020-06-19 11:48:46 -05:00
projection_qualif.stock.stderr add new error code 2020-06-19 14:16:38 -05:00
promote_borrowed_field.rs
promote_const_let.rs
promote_const_let.stderr
promote_evaluation_unused_result.rs
promote_fn_calls_std.rs
promote_fn_calls.rs
promoted_div_by_zero.rs Skip tests on emscripten 2020-05-08 00:39:02 +09:00
promoted_regression.rs
promoted-validation-55454.rs
promotion.rs
qualif_overwrite_2.rs
qualif_overwrite_2.stderr
qualif_overwrite.rs
qualif_overwrite.stderr
raw_pointer_promoted.rs
raw-ptr-const.rs Miri interning: replace ICEs by proper errors, make intern_shallow type signature more precise 2020-05-10 11:45:43 +02:00
raw-ptr-const.stderr Miri interning: replace ICEs by proper errors, make intern_shallow type signature more precise 2020-05-10 11:45:43 +02:00
read_from_static_mut_ref.rs update diagnostics for &mut in constants 2020-06-19 11:48:46 -05:00
read_from_static_mut_ref.stderr add new error code 2020-06-19 14:16:38 -05:00
recursive-zst-static.default.stderr fix const_prop spans and re-bless tests 2020-06-12 09:43:55 +02:00
recursive-zst-static.rs make recursive-zst test unleashed 2020-04-27 13:40:26 +02:00
recursive-zst-static.unleash.stderr fix const_prop spans and re-bless tests 2020-06-12 09:43:55 +02:00
references.rs
repeat_match.rs
return-in-const-fn.rs
self_normalization2.rs
self_normalization.rs
signed_enum_discr.rs
static_mut_containing_mut_ref2.mut_refs.stderr add new error code 2020-06-19 14:16:38 -05:00
static_mut_containing_mut_ref2.rs update diagnostics for &mut in constants 2020-06-19 11:48:46 -05:00
static_mut_containing_mut_ref2.stock.stderr add new error code 2020-06-19 14:16:38 -05:00
static_mut_containing_mut_ref3.rs
static_mut_containing_mut_ref3.stderr
static_mut_containing_mut_ref.rs
static-cycle-error.rs
static-raw-pointer-interning2.rs
static-raw-pointer-interning.rs
too_generic_eval_ice.rs
too_generic_eval_ice.stderr
trait_specialization.rs warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
trait_specialization.stderr warn against 'specialization' feature 2020-06-16 09:39:34 +02:00
transmute-const.rs
transmute-size-mismatch-before-typeck.rs
transmute-size-mismatch-before-typeck.stderr
tuple-struct-constructors.rs
underscore_const_names.rs
uninhabited-const-issue-61744.rs fix const_prop spans and re-bless tests 2020-06-12 09:43:55 +02:00
uninhabited-const-issue-61744.stderr fix const_prop spans and re-bless tests 2020-06-12 09:43:55 +02:00
union_constant.rs
unstable-const-fn-in-libcore.rs Update tests 2020-06-28 10:08:10 -07:00
unstable-const-fn-in-libcore.stderr Update tests 2020-06-28 10:08:10 -07:00
validate_never_arrays.rs
validate_never_arrays.stderr
zst_no_llvm_alloc.rs