rust/src/test/ui/consts
bors f5c3dfdbbf Auto merge of #105085 - oli-obk:stop_promoting_all_the_things, r=RalfJung
Stop promoting all the things

fixes #91009

r? `@RalfJung`
2022-12-24 14:00:37 +00:00
..
auxiliary Remove duplicated test files 2022-03-27 09:19:34 -03:00
const_constructor
const_in_pattern Use type_ascribe! in many UI tests 2022-11-19 22:16:42 +01:00
const_limit make const_err a hard error 2022-10-07 18:08:49 +02:00
const-blocks Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
const-eval Reuse the ctfe error emitting logic for the future incompat lint 2022-12-15 16:48:24 +00:00
const-extern-fn update test 2022-07-06 19:17:29 -04:00
const-mut-refs Change CTFE backtraces to use note instead of label to preserve their order 2022-12-06 18:59:46 +00:00
control-flow Update tests to match error message changes 2022-10-20 16:43:27 +01:00
extra-const-ub adjust tests 2022-12-15 15:50:15 +00:00
min_const_fn Update tests to match error message changes 2022-10-20 16:43:27 +01:00
miri_unleashed Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
std Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
array-literal-index-oob.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
array-literal-index-oob.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
array-to-slice-cast.rs
assert-type-intrinsics.rs Rename assert_uninit_valid intrinsic 2022-12-13 18:08:35 +01:00
assert-type-intrinsics.stderr Rename assert_uninit_valid intrinsic 2022-12-13 18:08:35 +01:00
assoc_const_generic_impl.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
assoc_const_generic_impl.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
assoc-const.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
associated_const_generic.rs
async-block.rs
async-block.with_feature.stderr
async-block.without_feature.stderr
bswap-const.rs
cast-discriminant-zst-enum.rs Stabilize bench_black_box 2022-09-27 17:38:51 +02:00
chained-constants-stackoverflow.rs
check_const-feature-gated.rs
closure-structural-match-issue-90013.rs
const_discriminant.rs Stabilize bench_black_box 2022-09-27 17:38:51 +02:00
const_fn_floating_point_arithmetic.gated.stderr
const_fn_floating_point_arithmetic.rs
const_fn_floating_point_arithmetic.stock.stderr
const_fn_return_nested_fn_ptr.rs
const_fn_unsize.rs
const_forget.rs
const_let_assign2.rs
const_let_assign3.rs
const_let_assign3.stderr
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
const_let_refutable.stderr
const_prop_slice_pat_ice.rs
const_short_circuit.rs
const_unsafe_unreachable_ub.rs
const_unsafe_unreachable_ub.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
const_unsafe_unreachable.rs
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 Cleanup feature gates. 2022-03-03 18:50:28 +01:00
const-array-oob-arith.stderr Cleanup feature gates. 2022-03-03 18:50:28 +01:00
const-array-oob.rs Cleanup feature gates. 2022-03-03 18:50:28 +01:00
const-array-oob.stderr Cleanup feature gates. 2022-03-03 18:50:28 +01:00
const-as-fn.rs
const-as-fn.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
const-autoderef.rs
const-big-enum.rs
const-binops.rs
const-bitshift-rhs-inference.rs
const-block-const-bound.rs Rename ~const Drop to ~const Destruct 2022-03-21 17:04:03 +11:00
const-block-const-bound.stderr Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
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-deref-ptr.rs
const-deref-ptr.stderr adjust dangling-int-ptr error message 2022-07-05 08:08:24 -04:00
const-deref.rs
const-endianess.rs
const-enum-byref-self.rs
const-enum-byref.rs
const-enum-cast.rs add test 2022-07-05 22:26:26 -04:00
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
const-err2.opt_with_overflow_checks.stderr
const-err2.opt.stderr
const-err2.rs
const-err4.32bit.stderr make read_immediate error immediately on uninit, so ImmTy can carry initialized Scalar 2022-08-26 13:20:57 -04:00
const-err4.64bit.stderr make read_immediate error immediately on uninit, so ImmTy can carry initialized Scalar 2022-08-26 13:20:57 -04:00
const-err4.rs make read_immediate error immediately on uninit, so ImmTy can carry initialized Scalar 2022-08-26 13:20:57 -04:00
const-err-early.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
const-err-early.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
const-err-late.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-err-late.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-err-multi.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-err-multi.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-err-rpass.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
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 make const_err a hard error 2022-10-07 18:08:49 +02:00
const-external-macro-const-err.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
const-fields-and-indexing.rs
const-float-bits-conv.rs Allow unused rules in the testsuite where the lint triggers 2022-05-05 19:13:00 +02:00
const-float-bits-reject-conv.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-float-bits-reject-conv.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
const-float-classify.rs
const-fn-const-eval.rs
const-fn-destructuring-arg.rs
const-fn-error.rs Bless ui tests after typeck code change 2022-09-16 11:48:43 +08:00
const-fn-error.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
const-fn-in-vec.rs
const-fn-in-vec.stderr Update the diagnostic message to match the new span 2022-04-28 09:40:42 +00:00
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-ptr.rs Add a test for fn pointer calls in consts 2022-05-17 07:24:47 +00:00
const-fn-ptr.stderr Add a test for fn pointer calls in consts 2022-05-17 07:24:47 +00:00
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 Update tests after feature stabilization 2022-03-07 08:47:18 -08:00
const-for-feature-gate.rs Bless ui tests after typeck code change 2022-09-16 11:48:43 +08:00
const-for-feature-gate.stderr Bless ui tests after typeck code change 2022-09-16 11:48:43 +08:00
const-for.rs Bless ui tests after typeck code change 2022-09-16 11:48:43 +08:00
const-for.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
const-index-feature-gate.rs
const-int-arithmetic-overflow.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
const-int-arithmetic.rs
const-int-conversion-rpass.rs
const-int-conversion.rs
const-int-conversion.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
const-int-overflowing-rpass.rs
const-int-overflowing.rs
const-int-overflowing.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
const-int-pow-rpass.rs
const-int-rotate-rpass.rs
const-int-rotate.rs
const-int-rotate.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
const-int-saturating-arith.rs
const-int-sign-rpass.rs
const-int-sign.rs
const-int-sign.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
const-int-unchecked.rs
const-int-unchecked.stderr Miri/CTFE: properly treat overflow in (signed) division/rem as UB 2022-03-01 20:39:51 -05:00
const-int-wrapping-rpass.rs
const-int-wrapping.rs
const-int-wrapping.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
const-integer-bool-ops.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-integer-bool-ops.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-labeled-break.rs
const-len-underflow-separate-spans.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-len-underflow-separate-spans.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-len-underflow-subspans.rs
const-len-underflow-subspans.stderr
const-match-check.eval1.stderr Do not suggest let_else if no bindings would be introduced 2022-03-08 17:20:05 +00:00
const-match-check.eval2.stderr Do not suggest let_else if no bindings would be introduced 2022-03-08 17:20:05 +00:00
const-match-check.matchck.stderr Do not suggest let_else if no bindings would be introduced 2022-03-08 17:20:05 +00:00
const-match-check.rs
const-match-pattern-arm.rs
const-meth-pattern.rs
const-multi-ref.rs
const-multi-ref.stderr
const-needs_drop-monomorphic.rs
const-needs_drop-monomorphic.stderr Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
const-needs_drop.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
const-negation.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
const-negative.rs
const-nullary-enum.rs
const-nullary-univariant-enum.rs
const-pattern-irrefutable.rs
const-pattern-irrefutable.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
const-pattern-not-const-evaluable.rs
const-pattern-variant.rs
const-points-to-static.32bit.stderr extra sanity check against consts pointing to mutable memory 2022-08-23 08:12:37 -04:00
const-points-to-static.64bit.stderr extra sanity check against consts pointing to mutable memory 2022-08-23 08:12:37 -04:00
const-points-to-static.rs
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 make const_err a hard error 2022-10-07 18:08:49 +02:00
const-prop-read-static-in-const.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
const-ptr-nonnull-rpass.rs
const-ptr-nonnull.rs
const-ptr-nonnull.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
const-ptr-unique-rpass.rs
const-ptr-unique.rs
const-ptr-unique.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
const-rec-and-tup.rs
const-region-ptrs-noncopy.rs
const-region-ptrs.rs
const-repeated-values.rs
const-size_of_val-align_of_val-extern-type.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
const-size_of_val-align_of_val-extern-type.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
const-size_of_val-align_of_val.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
const-size_of-align_of.rs
const-size_of-cycle.rs
const-size_of-cycle.stderr address review 2022-06-14 16:08:18 +02:00
const-slice-oob.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
const-slice-oob.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
const-struct-offsets.rs
const-struct.rs
const-suggest-feature.rs
const-suggest-feature.stderr
const-trait-to-trait.rs
const-try-feature-gate.rs
const-try-feature-gate.stderr
const-try.rs
const-tup-index-span.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-tup-index-span.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
const-tuple-struct.rs
const-type-mismatch.rs
const-type-mismatch.stderr
const-typeid-of-rpass.rs
const-unit-struct.rs
const-unsafe-fn.rs
const-unsized.rs
const-unsized.stderr
const-unwrap.rs
const-unwrap.stderr
const-validation-fail-55455.rs
const-variant-count.rs
const-vec-of-fns.rs
const-vec-syntax.rs
const-vecs-and-slices.rs
const.rs
constifconst-call-in-const-position.rs Only allow ~const bounds for traits with #[const_trait] 2022-10-04 08:06:54 +00:00
constifconst-call-in-const-position.stderr Only allow ~const bounds for traits with #[const_trait] 2022-10-04 08:06:54 +00:00
consts-in-patterns.rs
copy-intrinsic.rs adjust tests 2022-12-15 15:50:15 +00:00
copy-intrinsic.stderr adjust tests 2022-12-15 15:50:15 +00:00
dangling_raw_ptr.rs
dangling_raw_ptr.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
dangling-alloc-id-ice.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
dangling-alloc-id-ice.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
deref_in_pattern.rs
drop_box.rs Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
drop_box.stderr Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
drop_none.rs
drop_zst.rs
drop_zst.stderr Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
enum-discr-type-err.rs
enum-discr-type-err.stderr
eval-enum.rs
eval-enum.stderr
fn_trait_refs.rs Cleanup fn trait ref test 2022-11-09 11:35:28 +01:00
huge-values.rs
ice-48279.rs
ice-zst-static-access.rs
inline_asm.rs
inline_asm.stderr
int_ptr_for_zst_slices.rs
intrinsic_without_const_stab_fail.rs Stabilize const_intrinsic_copy 2022-06-08 20:17:28 +09:00
intrinsic_without_const_stab_fail.stderr
intrinsic_without_const_stab.rs Stabilize const_intrinsic_copy 2022-06-08 20:17:28 +09:00
intrinsic_without_const_stab.stderr
invalid_promotion.rs
invalid-const-in-body.rs Don't ICE when encountering ConstKind::Error in RequiredConstsVisitor 2022-11-10 05:14:04 +00:00
invalid-const-in-body.stderr Don't ICE when encountering ConstKind::Error in RequiredConstsVisitor 2022-11-10 05:14:04 +00:00
invalid-inline-const-in-match-arm.rs Don't ICE with inline const errors during MIR build 2022-11-11 17:21:58 +00:00
invalid-inline-const-in-match-arm.stderr Don't ICE with inline const errors during MIR build 2022-11-11 17:21:58 +00:00
invalid-union.32bit.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
invalid-union.64bit.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
invalid-union.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
issue-3521.fixed
issue-3521.rs
issue-3521.stderr
issue-6991.rs
issue-13837.rs
issue-13902.rs
issue-17074.rs
issue-17458.rs
issue-17458.stderr
issue-17718-borrow-interior.rs
issue-17718-const-bad-values.rs
issue-17718-const-bad-values.stderr
issue-17718-const-borrow.rs
issue-17718-const-borrow.stderr
issue-17718-constants-not-static.rs Move some tests to more reasonable directories 2022-10-13 12:32:58 -03:00
issue-17718-constants-not-static.stderr Move some tests to more reasonable directories 2022-10-13 12:32:58 -03:00
issue-17718-references.rs
issue-17718-references.stderr
issue-17718.rs
issue-17756.rs
issue-18294.rs
issue-18294.stderr
issue-19244.rs Move some tests to more reasonable places 2022-04-26 23:38:04 -03:00
issue-21562.rs
issue-21721.rs
issue-23833.rs
issue-23968-const-not-overflow.rs
issue-25826.rs bless tests, remove nonexistent E0395 2022-07-26 14:14:21 +00:00
issue-25826.stderr Do not suggest trivially false const predicates 2022-10-20 23:24:45 +00:00
issue-27890.rs
issue-28113.rs Make error messages great again (and fix clippy and add test) 2022-09-21 15:02:15 +00:00
issue-28113.stderr Make error messages great again (and fix clippy and add test) 2022-09-21 15:02:15 +00:00
issue-29914-2.rs
issue-29914-3.rs
issue-29914.rs
issue-29927-1.rs
issue-29927.rs
issue-32829-2.rs
issue-32829-2.stderr suggest lazy-static for non-const statics 2022-08-14 23:07:47 +01:00
issue-32829.rs
issue-32829.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
issue-33537.rs
issue-34784.rs
issue-36163.rs
issue-36163.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
issue-37222.rs
issue-37550-1.rs Update tests after feature stabilization 2022-03-07 08:47:18 -08:00
issue-37550.rs Update tests after feature stabilization 2022-03-07 08:47:18 -08:00
issue-37991.rs
issue-39161-bogus-error.rs
issue-39974.rs Move tests 2022-06-13 17:16:01 -03:00
issue-39974.stderr Move tests 2022-06-13 17:16:01 -03:00
issue-43105.rs
issue-43105.stderr
issue-44415.rs address review 2022-06-14 16:08:18 +02:00
issue-44415.stderr Remove guess_head_span. 2022-07-28 23:14:04 +02:00
issue-46553.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
issue-47789.rs
issue-50439.rs add regression test for #50439 2022-06-30 13:43:29 +09:00
issue-50439.stderr add regression test for #50439 2022-06-30 13:43:29 +09:00
issue-52023-array-size-pointer-cast.rs
issue-52023-array-size-pointer-cast.stderr
issue-52060.rs
issue-52060.stderr
issue-54224.rs
issue-54224.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
issue-54348.rs
issue-54348.stderr
issue-54387.rs Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-54954.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
issue-54954.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
issue-56164.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
issue-56164.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
issue-58435-ice-with-assoc-const.rs
issue-62045.rs
issue-63226.rs
issue-63952.32bit.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
issue-63952.64bit.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
issue-63952.rs
issue-64059.rs
issue-64506.rs
issue-64662.rs
issue-64662.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
issue-65348.rs
issue-66342.rs
issue-66345.rs
issue-66397.rs
issue-66693-panic-in-array-len.rs
issue-66693-panic-in-array-len.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
issue-66693.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
issue-66693.stderr cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
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 Make error messages great again (and fix clippy and add test) 2022-09-21 15:02:15 +00:00
issue-68542-closure-in-array-len.stderr Make error messages great again (and fix clippy and add test) 2022-09-21 15:02:15 +00:00
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-69488.rs mir-interpret now treats unions as non-immediate, even if they have scalar layout, allowing partially initializing them 2022-04-05 13:18:22 +00:00
issue-69532.rs
issue-70773-mir-typeck-lt-norm.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
issue-70942-trait-vs-impl-mismatch.rs
issue-70942-trait-vs-impl-mismatch.stderr
issue-73976-monomorphic.rs
issue-73976-polymorphic.rs
issue-73976-polymorphic.stderr
issue-76064.rs
issue-76064.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
issue-77062-large-zst-array.rs address review 2022-06-14 16:11:27 +02:00
issue-78655.rs On partial uninit error point at where we need init 2022-07-07 12:25:55 -07:00
issue-78655.stderr fix #102087, Suggest Default::default() when binding isn't initialized 2022-09-26 07:56:26 +08:00
issue-79137-monomorphic.rs
issue-79137-toogeneric.rs
issue-79137-toogeneric.stderr
issue-79152-const-array-index.rs
issue-79690.64bit.stderr make use of symbolic vtables in interpreter 2022-07-20 17:12:04 -04:00
issue-79690.rs
issue-83182.32bit.stderr adjust tests 2022-08-27 18:37:49 -04:00
issue-83182.64bit.stderr adjust tests 2022-08-27 18:37:49 -04:00
issue-83182.rs adjust tests 2022-08-27 18:37:49 -04:00
issue-87046.rs Cleanup feature gates. 2022-03-03 18:50:28 +01:00
issue-87046.stderr Cleanup feature gates. 2022-03-03 18:50:28 +01:00
issue-88071.rs Stabilize const BTree{Map,Set}::new 2022-09-23 20:55:37 +02:00
issue-88649.rs
issue-89088.rs
issue-90762.rs Generate an intermediate temporary for Drop constants. 2022-05-04 09:09:52 +00:00
issue-90870.fixed
issue-90870.rs
issue-90870.stderr
issue-90878-2.rs Overhaul MacArgs::Eq. 2022-05-05 07:06:12 +10:00
issue-90878-2.stderr Overhaul MacArgs::Eq. 2022-05-05 07:06:12 +10:00
issue-90878-3.rs
issue-90878-3.stderr
issue-90878.rs
issue-90878.stderr
issue-91434.rs trait selection errors should poison the typeck results, too, so that const eval can avoid running at all 2022-05-24 15:37:33 +00:00
issue-91434.stderr trait selection errors should poison the typeck results, too, so that const eval can avoid running at all 2022-05-24 15:37:33 +00:00
issue-91560.fixed
issue-91560.rs
issue-91560.stderr
issue-94371.rs mir-interpret now treats unions as non-immediate, even if they have scalar layout, allowing partially initializing them 2022-04-05 13:18:22 +00:00
issue-94675.rs bless tests 2022-09-16 11:48:43 +08:00
issue-94675.stderr Do not suggest trivially false const predicates 2022-10-20 23:24:45 +00:00
issue-96169.rs fix ICE in ConstProp 2022-07-06 13:28:42 -04:00
issue-102117.rs use spans in TypeTest rather than mir::Location 2022-11-05 07:36:47 +03:00
issue-102117.stderr use spans in TypeTest rather than mir::Location 2022-11-05 07:36:47 +03:00
issue-103790.rs return const_error when ty has errors 2022-11-02 14:47:48 +09:00
issue-103790.stderr return const_error when ty has errors 2022-11-02 14:47:48 +09:00
issue-104155.rs Use nominal_obligations_without_const in wf for FnDef 2022-11-09 02:08:22 +00:00
issue-104396.rs Ensure param-env is const before calling eval_to_valtree 2022-12-17 22:33:06 +00:00
issue-104396.stderr Ensure param-env is const before calling eval_to_valtree 2022-12-17 22:33:06 +00:00
issue-104609.rs Do not check transmute if has non region infer 2022-11-21 09:03:33 +08:00
issue-104609.stderr Do not check transmute if has non region infer 2022-11-21 09:03:33 +08:00
issue-104768.rs make error_reported check for delayed bugs 2022-11-24 11:12:46 +00:00
issue-104768.stderr make error_reported check for delayed bugs 2022-11-24 11:12:46 +00:00
issue-broken-mir.rs
issue-miri-1910.rs adjust tests 2022-08-27 18:37:49 -04:00
issue-miri-1910.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
large_const_alloc.rs
large_const_alloc.stderr
locals-in-const-fn.rs
match_ice.rs
match_ice.stderr
match-const-fn-structs.rs
mir_check_nonconst.rs
mir_check_nonconst.stderr suggest lazy-static for non-const statics 2022-08-14 23:07:47 +01:00
missing_span_in_backtrace.rs Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
missing_span_in_backtrace.stderr Make -Zsimulate-remapped-rust-src-base reproducible on CI 2022-12-07 10:36:08 +00:00
mozjs-error.rs
nested_erroneous_ctfe.rs trait selection errors should poison the typeck results, too, so that const eval can avoid running at all 2022-05-24 15:37:33 +00:00
nested_erroneous_ctfe.stderr trait selection errors should poison the typeck results, too, so that const eval can avoid running at all 2022-05-24 15:37:33 +00:00
non-const-value-in-const.rs
non-const-value-in-const.stderr
non-scalar-cast.rs
offset_from_ub.rs Do not include const_ptr_sub_ptr in this stabilization 2022-08-25 06:03:28 +00:00
offset_from_ub.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
offset_from.rs Stabilize const_ptr_offset_from. 2022-08-25 06:03:28 +00:00
offset_ub.rs
offset_ub.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
offset.rs Stabilize const_ptr_offset_from. 2022-08-25 06:03:28 +00:00
packed_pattern2.rs
packed_pattern2.stderr
packed_pattern.rs
packed_pattern.stderr
partial_qualif.rs
partial_qualif.stderr
precise-drop-with-coverage.rs
precise-drop-with-promoted.rs
promote_borrowed_field.rs
promote_const_let.rs
promote_const_let.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
promote_evaluation_unused_result.rs
promote_fn_calls_std.rs
promote_fn_calls.rs
promote-not.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
promote-not.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
promoted_const_call2.rs Extend tests to cover runtime promotion cases, too 2022-12-01 13:22:29 +00:00
promoted_const_call2.stderr Extend tests to cover runtime promotion cases, too 2022-12-01 13:22:29 +00:00
promoted_const_call3.rs Extend tests to cover runtime promotion cases, too 2022-12-01 13:22:29 +00:00
promoted_const_call3.stderr Extend tests to cover runtime promotion cases, too 2022-12-01 13:22:29 +00:00
promoted_const_call4.rs More tests 2022-12-01 13:41:59 +00:00
promoted_const_call5.rs More tests 2022-12-01 13:41:59 +00:00
promoted_const_call5.stderr More tests 2022-12-01 13:41:59 +00:00
promoted_const_call.rs More tests 2022-12-01 13:41:59 +00:00
promoted_const_call.stderr More tests 2022-12-01 13:41:59 +00:00
promoted_regression.rs
promoted-const-drop.rs
promoted-const-drop.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
promoted-storage.rs
promoted-validation-55454.rs
promotion-mutable-ref.rs
promotion.rs Remove line instead of just commenting out 2022-03-23 16:50:42 +00:00
ptr_comparisons.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
ptr_comparisons.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
ptr_is_null.rs
qualif_overwrite_2.rs
qualif_overwrite_2.stderr
qualif_overwrite.rs
qualif_overwrite.stderr
qualif-indirect-mutation-fail.rs Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
qualif-indirect-mutation-fail.stderr Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
qualif-indirect-mutation-pass.rs
qualif-union.rs remove untagged_union feature gate 2022-07-13 18:27:28 -04:00
qualif-union.stderr Update tests to match error message changes 2022-10-20 16:43:27 +01:00
raw_pointer_promoted.rs
raw-ptr-const.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
raw-ptr-const.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
recursive-zst-static.default.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
recursive-zst-static.rs
recursive-zst-static.unleash.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
recursive.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
recursive.stderr Change CTFE backtraces to use note instead of label to preserve their order 2022-12-06 18:59:46 +00:00
references.rs
refs_check_const_eq-issue-88384.rs Deeply deny fn and raw ptrs in const generics 2022-07-25 03:39:22 +00:00
refs_check_const_eq-issue-88384.stderr bless ui tests 2022-10-01 10:03:06 +00:00
refs_check_const_value_eq-issue-88876.rs
repeat_match.rs
return-in-const-fn.rs
rustc-const-stability-require-const.rs
rustc-const-stability-require-const.stderr
rustc-impl-const-stability.rs Proper const stability check, default to unstable 2022-05-19 12:21:45 +00:00
rvalue-static-promotion.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
self_normalization2.rs
self_normalization.rs
signed_enum_discr.rs
stable-precise-live-drops-in-libcore.rs Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
stable-precise-live-drops-in-libcore.stderr Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
static_mut_containing_mut_ref2.mut_refs.stderr
static_mut_containing_mut_ref2.rs
static_mut_containing_mut_ref2.stock.stderr
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 Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
trait_specialization.rs
trait_specialization.stderr bless ui tests 2022-10-01 10:03:06 +00:00
transmute-const.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
transmute-size-mismatch-before-typeck.rs Add the transmute and asm checks to typeck as deferred checks 2022-05-24 16:28:57 +00:00
transmute-size-mismatch-before-typeck.stderr Add the transmute and asm checks to typeck as deferred checks 2022-05-24 16:28:57 +00:00
try-operator.rs
tuple-struct-constructors.rs
underscore_const_names.rs
uninhabited-const-issue-61744.rs cleanup and dedupe CTFE and Miri error reporting 2022-11-16 10:13:29 +01:00
uninhabited-const-issue-61744.stderr Change CTFE backtraces to use note instead of label to preserve their order 2022-12-06 18:59:46 +00:00
union_constant.rs
unnormalized-param-env.rs Add normalize hack back 2022-10-23 17:23:35 +00:00
unstable-const-fn-in-libcore.rs Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
unstable-const-fn-in-libcore.stderr Note the type when unable to drop values in compile time 2022-09-24 20:32:51 +00:00
unstable-precise-live-drops-in-libcore.rs
unwind-abort.rs
validate_never_arrays.32bit.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
validate_never_arrays.64bit.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
validate_never_arrays.rs
write_to_mut_ref_dest.rs
write_to_mut_ref_dest.stock.stderr
write_to_static_via_mut_ref.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
write_to_static_via_mut_ref.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
write-to-static-mut-in-static.rs
write-to-static-mut-in-static.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
zst_no_llvm_alloc.rs