rust/tests/ui/consts
Matthias Krüger 0b7f0ff230
Rollup merge of #117614 - RalfJung:static-mut-refs, r=davidtwco,oli-obk
static mut: allow mutable reference to arbitrary types, not just slices and arrays

For historical reasons, we allow this:
```rust
static mut ARRAY: &'static mut [isize] = &mut [1];
```
However, we do not allow this:
```rust
static mut INT: &'static mut isize = &mut 1;
```

I think that's terribly inconsistent. I don't care much for `static mut`, but we have to keep it around for backwards compatibility and so we have to keep supporting it properly in the compiler. In recent refactors of how we deal with mutability of data in `static` and `const`, I almost made a fatal mistake since I tested `static mut INT: &'static mut isize = &mut 1` and concluded that we don't allow such `'static` mutable references even inside `static mut`. After all, nobody would expect this to be allowed only for arrays and slices, right?!?? So for the sake of our own sanity, and of whoever else reverse engineers these rules in the future to understand what the Rust compiler accepts or does not accept, I propose that we accept this for all types, not just arrays and slices.
2024-02-10 13:12:28 +01:00
..
auxiliary bless ui tests 2023-12-19 04:28:21 +00:00
const_constructor Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_in_pattern merge the accepted-structural-match tests into one 2024-02-05 20:36:11 +01:00
const-blocks Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
const-eval revert stabilization of const_intrinsic_copy 2024-02-05 20:58:31 +01:00
const-extern-fn Bless tests 2024-01-13 12:46:58 -05:00
const-mut-refs const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
control-flow Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
extra-const-ub Stabilize [const_]pointer_byte_offsets 2023-10-25 22:35:12 +00:00
min_const_fn raw pointers are not references 2024-01-22 09:28:00 +01:00
miri_unleashed static mut: allow reference to arbitrary types, not just slices and arrays 2024-01-28 10:00:23 +01:00
std const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
array-literal-index-oob.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array-literal-index-oob.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array-literal-len-mismatch.rs Suggest the correct array length on mismatch 2023-02-12 02:15:41 +00:00
array-literal-len-mismatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
array-to-slice-cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assert-type-intrinsics.rs Stabilize const_mem_zeroed 2023-11-04 15:27:29 -04:00
assert-type-intrinsics.stderr Stabilize const_mem_zeroed 2023-11-04 15:27:29 -04:00
assoc_const_generic_impl.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
assoc_const_generic_impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc-const-elided-lifetime.rs Warn on elided lifetimes in associated constants 2023-08-20 00:21:47 +00:00
assoc-const-elided-lifetime.stderr Warn on elided lifetimes in associated constants 2023-08-20 00:21:47 +00:00
assoc-const.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
associated_const_generic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
async-block.with_feature.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
async-block.without_feature.stderr Bless tests 2024-01-13 12:46:58 -05:00
bswap-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cast-discriminant-zst-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
chained-constants-stackoverflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check_const-feature-gated.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
closure-in-foreign-crate.rs Encode const mir for closures if they're const 2023-01-16 14:59:27 +00:00
closure-structural-match-issue-90013.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_cmp_type_id.rs bless ui tests 2023-12-19 04:28:21 +00:00
const_cmp_type_id.stderr bless ui tests 2023-12-19 04:28:21 +00:00
const_discriminant.rs Const stabilize mem::discriminant 2023-09-28 11:07:06 -07:00
const_fn_floating_point_arithmetic.gated.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_fn_floating_point_arithmetic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_fn_floating_point_arithmetic.stock.stderr Bless tests 2024-01-13 12:46:58 -05:00
const_fn_return_nested_fn_ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_fn_unsize.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_forget.rs Rename forget_copy lint to forgetting_copy_types 2023-05-21 14:09:03 +02:00
const_let_assign2.rs Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
const_let_assign2.stderr Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
const_let_assign3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let_assign3.stderr Bless tests 2024-01-13 12:46:58 -05:00
const_let_assign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let_eq_float.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let_eq.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let_irrefutable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let_promote.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let_refutable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_let_refutable.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_prop_slice_pat_ice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_short_circuit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_unsafe_unreachable_ub.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_unsafe_unreachable_ub.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_unsafe_unreachable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-address-of-interior-mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-address-of-interior-mut.stderr Bless tests 2024-01-13 12:46:58 -05:00
const-address-of-mut.rs static mut: allow reference to arbitrary types, not just slices and arrays 2024-01-28 10:00:23 +01:00
const-address-of-mut.stderr static mut: allow reference to arbitrary types, not just slices and arrays 2024-01-28 10:00:23 +01:00
const-address-of.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-adt-align-mismatch.rs Fix misuses of a vs an 2023-10-04 08:01:11 +08:00
const-array-oob-arith.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-array-oob-arith.stderr Suggest the correct array length on mismatch 2023-02-12 02:15:41 +00:00
const-array-oob.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-array-oob.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-as-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-as-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-assert-unchecked-ub.rs Add hint::assert_unchecked 2023-12-19 13:56:50 -08:00
const-assert-unchecked-ub.stderr Add hint::assert_unchecked 2023-12-19 13:56:50 -08:00
const-autoderef.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-big-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-binops.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-bitshift-rhs-inference.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-block-const-bound.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
const-block-const-bound.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-block-cross-crate-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-block-item-macro-codegen.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-block-item.rs Update tests 2024-02-07 10:42:01 +08:00
const-block-item.stderr Update tests 2024-02-07 10:42:01 +08:00
const-block-non-item-statement-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-block-non-item-statement-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-block-non-item-statement.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-block.rs remove redundant imports 2023-12-10 10:56:22 +08:00
const-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-byte-str-cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-call.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-call.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-cast-different-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-cast-different-types.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-cast-ptr-int.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-cast-wrong-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-cast-wrong-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-compare-bytes-ub.rs Add a new compare_bytes intrinsic instead of calling memcmp directly 2023-08-06 15:47:40 -07:00
const-compare-bytes-ub.stderr Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
const-compare-bytes.rs Add a new compare_bytes intrinsic instead of calling memcmp directly 2023-08-06 15:47:40 -07:00
const-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-contents.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-deref-ptr.rs place evaluation: require the original pointer to be aligned if an access happens 2023-10-15 18:13:31 +02:00
const-deref-ptr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-deref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-endianess.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-byref-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-byref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-struct2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-structlike.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-tuple2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-tuplestruct2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-tuplestruct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-vec-index.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-vec-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-enum-vector.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err2.noopt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err2.opt_with_overflow_checks.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err2.opt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err-early.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err-early.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err-enum-discriminant.rs give const-err4 a more descriptive name 2024-01-11 14:57:12 +01:00
const-err-enum-discriminant.stderr give const-err4 a more descriptive name 2024-01-11 14:57:12 +01:00
const-err-late.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err-late.stderr Stop using eval_rvalue_into_place in const prop 2024-01-23 16:34:42 +00:00
const-err-multi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-err-multi.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-err-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-expr-addr-operator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-expr-in-fixed-length-vec.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-expr-in-vec-repeat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-extern-function.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-external-macro-const-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-external-macro-const-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-fields-and-indexing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-float-bits-conv.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-float-bits-reject-conv.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-float-bits-reject-conv.stderr don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
const-float-classify.rs bless ui tests 2023-12-19 04:28:21 +00:00
const-fn-const-eval.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-destructuring-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-error.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-fn-error.stderr Bless tests 2024-01-13 12:46:58 -05:00
const-fn-in-vec.rs Improve diagnostic for const ctors in array repeat expressions 2023-07-24 20:28:35 +00:00
const-fn-in-vec.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
const-fn-method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-mismatch.rs E0379: Make diagnostic more precise 2024-01-02 13:49:47 +01:00
const-fn-mismatch.stderr E0379: Provide suggestions 2024-01-02 13:49:48 +01:00
const-fn-nested.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-not-in-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-not-in-trait.stderr E0379: Provide suggestions 2024-01-02 13:49:48 +01:00
const-fn-not-safe-for-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-not-safe-for-const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-ptr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-stability-calls-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-stability-calls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-type-name-any.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-type-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-val.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn-zst-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-for-feature-gate.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
const-for-feature-gate.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
const-for.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-for.stderr fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-index-feature-gate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-arithmetic-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-arithmetic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-conversion-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-conversion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-conversion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-overflowing-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-overflowing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-overflowing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-pow-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-rotate-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-rotate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-rotate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-saturating-arith.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-sign-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-sign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-sign.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-unchecked.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-unchecked.stderr interpret: simplify handling of shifts by no longer trying to handle signed and unsigned shift amounts in the same branch 2023-11-12 12:49:46 +01:00
const-int-wrapping-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-wrapping.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-int-wrapping.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-integer-bool-ops.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
const-integer-bool-ops.stderr Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
const-labeled-break.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-len-underflow-separate-spans.next.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-len-underflow-separate-spans.old.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-len-underflow-separate-spans.rs update use of feature flags 2023-12-14 15:22:37 +01:00
const-len-underflow-subspans.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-len-underflow-subspans.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-match-check.eval1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-match-check.eval2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-match-check.matchck.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
const-match-check.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-match-pattern-arm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-meth-pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-multi-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-multi-ref.stderr Bless tests 2024-01-13 12:46:58 -05:00
const-needs_drop-monomorphic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-needs_drop-monomorphic.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-needs_drop.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
const-negation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-negative.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-nullary-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-nullary-univariant-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-pattern-irrefutable.rs Reinstate confusion note. 2023-04-03 15:59:21 +00:00
const-pattern-irrefutable.stderr Reinstate confusion note. 2023-04-03 15:59:21 +00:00
const-pattern-not-const-evaluable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-pattern-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-ptr-nonnull-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-ptr-nonnull.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-ptr-nonnull.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-ptr-unique-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-ptr-unique.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-ptr-unique.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-rec-and-tup.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-region-ptrs-noncopy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-region-ptrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-repeated-values.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-size_of_val-align_of_val-extern-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-size_of_val-align_of_val-extern-type.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-size_of_val-align_of_val.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
const-size_of-align_of.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-size_of-cycle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-size_of-cycle.stderr Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
const-slice-oob.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-slice-oob.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-struct-offsets.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-suggest-feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-suggest-feature.stderr Bless tests 2024-01-13 12:46:58 -05:00
const-trait-to-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-try-feature-gate.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
const-try-feature-gate.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
const-try.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
const-try.stderr bless ui tests 2023-12-19 04:28:21 +00:00
const-tup-index-span.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
const-tup-index-span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-tuple-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-type-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-type-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-typeid-of-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-unit-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-unsafe-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-unsized.rs Work around the fact that check_mod_type_wf may spuriously return ErrorGuaranteed, even if that error is only emitted by check_modwitem_types 2023-10-25 12:04:54 +00:00
const-unsized.stderr Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
const-unwrap.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-unwrap.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-validation-fail-55455.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-variant-count.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-vec-of-fns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-vec-syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-vecs-and-slices.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
constifconst-call-in-const-position.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
constifconst-call-in-const-position.stderr bless ui tests 2023-12-19 04:28:21 +00:00
consts-in-patterns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy-intrinsic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy-intrinsic.stderr Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
ct-var-in-collect_all_mismatches.rs Handle inference variables in CollectAllMismatches correctly 2023-01-11 20:01:24 +00:00
ct-var-in-collect_all_mismatches.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dangling_raw_ptr.rs const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
dangling_raw_ptr.stderr const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
dangling-alloc-id-ice.rs const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
dangling-alloc-id-ice.stderr const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
deref_in_pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop_box.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop_box.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
drop_none.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop_zst.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop_zst.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
drop-maybe_uninit.rs Don't require Drop for [PhantomData<T>; N] where N and T are generic, if T requires Drop 2023-09-07 18:31:17 +00:00
effect_param.rs Reenable effects in libcore 2023-11-12 04:33:19 +00:00
effect_param.stderr Reenable effects in libcore 2023-11-12 04:33:19 +00:00
enum-discr-type-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum-discr-type-err.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
escaping-bound-var.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
escaping-bound-var.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
eval-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
eval-enum.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn_trait_refs.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
fn_trait_refs.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
gate-do-not-const-check.rs add and bless tests 2023-01-31 17:26:06 +00:00
gate-do-not-const-check.stderr Bless tests 2024-01-13 12:46:58 -05:00
huge-values.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ice-48279.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ice-zst-static-access.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_asm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_asm.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
int_ptr_for_zst_slices.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
interior-mut-const-via-union.32bit.stderr const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
interior-mut-const-via-union.64bit.stderr const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
interior-mut-const-via-union.rs const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
intrinsic_without_const_stab_fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intrinsic_without_const_stab_fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
intrinsic_without_const_stab.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intrinsic_without_const_stab.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid_promotion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-const-in-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-const-in-body.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-inline-const-in-match-arm.rs #![feature(inline_const_pat)] is no longer incomplete 2024-02-01 10:27:54 +00:00
invalid-inline-const-in-match-arm.stderr #![feature(inline_const_pat)] is no longer incomplete 2024-02-01 10:27:54 +00:00
is_val_statically_known.rs Add new intrinsic is_constant and optimize pow 2024-01-19 13:46:27 -05:00
issue-3521.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3521.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-3521.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-6991.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-13837.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-13902.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-16538.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-16538.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
issue-17074.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17458.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17458.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-17718-borrow-interior.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-const-bad-values.rs Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
issue-17718-const-bad-values.stderr Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
issue-17718-const-borrow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-const-borrow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-constants-not-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-constants-not-static.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-17718-references.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718-references.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17718.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-17756.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-18294.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-18294.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-19244.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-21562.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-21721.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23833.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-23968-const-not-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-25826.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
issue-25826.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-27890.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-28113.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-28113.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-28822.rs Move tests 2023-05-24 19:35:59 -03:00
issue-29798.rs Address comments 2023-05-24 19:54:13 -03:00
issue-29914-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29914-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29914.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29927-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-29927.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32829-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32829-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32829.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-32829.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-33537.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-33903.rs Move tests 2023-02-16 11:42:35 -03:00
issue-36163.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36163.stderr Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
issue-37222.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-37550-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-37550.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-37991.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39161-bogus-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39974.rs Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
issue-39974.stderr Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
issue-43105.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-43105.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-44415.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-44415.stderr Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
issue-46553.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47789.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50439.rs check array type of repeat exprs is wf 2023-05-04 11:22:40 +01:00
issue-50439.stderr check array type of repeat exprs is wf 2023-05-04 11:22:40 +01:00
issue-52023-array-size-pointer-cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-52023-array-size-pointer-cast.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-52060.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-52060.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-54224.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54224.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54348.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54348.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54387.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54582.rs Move tests 2023-02-16 11:42:35 -03:00
issue-54954.rs Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
issue-54954.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-56164.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-56164.stderr update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-58435-ice-with-assoc-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-62045.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-63226.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-63952.32bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
issue-63952.64bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
issue-63952.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64059.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64506.rs Detect uninhabited types early in const eval. 2023-03-21 11:09:27 +00:00
issue-64506.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-64662.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64662.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-65348.rs Stop using eval_rvalue_into_place in const prop 2024-01-23 16:34:42 +00:00
issue-66342.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66345.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66397.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66693-panic-in-array-len.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66693-panic-in-array-len.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66693.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66693.stderr Suppress "erroneous constant used" for constants tainted by errors 2023-05-15 00:00:00 +00:00
issue-66787.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67529.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67640.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67641.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67696-const-prop-ice.rs Do not run optimizations on trivial MIR. 2023-10-08 12:09:06 +00:00
issue-67862.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68264-overflow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-68542-closure-in-array-len.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-68542-closure-in-array-len.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-68684.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69191-ice-on-uninhabited-enum-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69310-array-size-lit-wrong-ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69310-array-size-lit-wrong-ty.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69312.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69488.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69532.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70773-mir-typeck-lt-norm.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
issue-70942-trait-vs-impl-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70942-trait-vs-impl-mismatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-73976-monomorphic.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
issue-73976-monomorphic.stderr bless ui tests 2023-12-19 04:28:21 +00:00
issue-73976-polymorphic.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-73976-polymorphic.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-76064.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76064.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-77062-large-zst-array.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78655.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-78655.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-79137-monomorphic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79137-toogeneric.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-79137-toogeneric.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-79152-const-array-index.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79690.64bit.stderr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
issue-79690.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87046.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87046.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-88071.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88649.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-89088.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-89088.stderr update the tracking issue for structural match violations 2024-02-05 20:36:11 +01:00
issue-90762.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90870.fixed fix fmt and bless 2023-01-12 02:28:38 +00:00
issue-90870.rs fix fmt and bless 2023-01-12 02:28:38 +00:00
issue-90870.stderr fix fmt and bless 2023-01-12 02:28:38 +00:00
issue-90878-2.rs Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
issue-90878-2.stderr Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
issue-90878-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90878-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-90878.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90878.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-91434.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91434.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91560.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91560.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91560.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-94371.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-94675.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
issue-94675.stderr bless ui tests 2023-12-19 04:28:21 +00:00
issue-96169.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102117.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102117.stderr remove trailing dots 2023-10-08 10:06:17 +00:00
issue-103790.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-103790.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
issue-104155.rs Rename forget_copy lint to forgetting_copy_types 2023-05-21 14:09:03 +02:00
issue-104396.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104396.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104609.rs Remove a has_errors check that only hides errors after unrelated items have errored. 2024-01-31 16:51:42 +00:00
issue-104609.stderr Remove a has_errors check that only hides errors after unrelated items have errored. 2024-01-31 16:51:42 +00:00
issue-104768.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104768.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-105536-const-val-roundtrip-ptr-eq.rs add regression test for something we fixed 2023-09-14 11:56:55 +02:00
issue-116186.rs return unfixed len if pat has reported error 2023-10-23 22:14:39 +08:00
issue-116186.stderr return unfixed len if pat has reported error 2023-10-23 22:14:39 +08:00
issue-broken-mir.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-miri-1910.rs Stabilize const_ptr_read 2023-05-05 20:36:21 +02:00
issue-miri-1910.stderr Update std::simd usage and test outputs 2023-11-26 09:02:25 -05:00
large_const_alloc.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
large_const_alloc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
let-irrefutable-pattern-ice-120337.rs interpret: project_downcast: do not ICE for uninhabited variants 2024-01-26 09:01:56 +01:00
locals-in-const-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match_ice.rs remove StructuralEq trait 2024-01-24 07:56:23 +01:00
match_ice.stderr remove StructuralEq trait 2024-01-24 07:56:23 +01:00
match-const-fn-structs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mir_check_nonconst.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mir_check_nonconst.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing_span_in_backtrace.rs Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
missing_span_in_backtrace.stderr Update std::simd usage and test outputs 2023-11-26 09:02:25 -05:00
missing-larger-array-impl.rs use Const::eval instead of QueryNormalize in error reporting 2023-06-24 18:04:14 +00:00
missing-larger-array-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mozjs-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested_erroneous_ctfe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested_erroneous_ctfe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-const-value-in-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-const-value-in-const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-scalar-cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-sync-references-in-const.rs add known-bug test for unsound issue 49206 2023-04-22 00:47:07 -04:00
offset_from_ub.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
offset_from_ub.stderr Update std::simd usage and test outputs 2023-11-26 09:02:25 -05:00
offset_from.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
offset_ub.rs Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
offset_ub.stderr Update std::simd usage and test outputs 2023-11-26 09:02:25 -05:00
offset.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
packed_pattern2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
packed_pattern2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
packed_pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
packed_pattern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
partial_qualif.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
partial_qualif.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
precise-drop-with-coverage.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
precise-drop-with-promoted.rs Fix const drop checking 2023-12-07 16:28:33 +00:00
promote_borrowed_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promote_const_let.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promote_const_let.stderr Tweak E0597 2023-01-15 19:46:20 +00:00
promote_evaluation_unused_result.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promote_fn_calls_std.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promote_fn_calls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promote-not.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promote-not.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_const_call2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_const_call2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted_const_call3.rs Taint borrowck results without running any borrowck if the MIR body was already tainted 2024-02-08 07:39:49 +00:00
promoted_const_call3.stderr Taint borrowck results without running any borrowck if the MIR body was already tainted 2024-02-08 07:39:49 +00:00
promoted_const_call4.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
promoted_const_call5.rs Taint borrowck results without running any borrowck if the MIR body was already tainted 2024-02-08 07:39:49 +00:00
promoted_const_call5.stderr Taint borrowck results without running any borrowck if the MIR body was already tainted 2024-02-08 07:39:49 +00:00
promoted_const_call.rs update tests, adding known-bug 2023-07-27 15:51:02 +00:00
promoted_const_call.stderr Taint borrowck results without running any borrowck if the MIR body was already tainted 2024-02-08 07:39:49 +00:00
promoted_regression.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted-const-drop.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted-const-drop.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted-storage.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promoted-validation-55454.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promotion-mutable-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
promotion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr_comparisons.rs fix and extend ptr_comparison test 2023-08-01 18:23:37 +02:00
ptr_is_null.rs Also lint on cast/cast_mut and ptr::from_mut/ptr::from_ref 2023-08-03 10:52:15 +02:00
qualif_overwrite_2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualif_overwrite_2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
qualif_overwrite.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualif_overwrite.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
qualif-indirect-mutation-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualif-indirect-mutation-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualif-indirect-mutation-pass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualif-union.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
qualif-union.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw_pointer_promoted.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-ptr-const.rs const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
raw-ptr-temp-const.rs const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
raw-ptr-temp-const.stderr const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
recursive-zst-static.default.stderr Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
recursive-zst-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive-zst-static.unleash.stderr Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
recursive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
references.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
refs_check_const_eq-issue-88384.rs Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
refs_check_const_eq-issue-88384.stderr Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
refs_check_const_value_eq-issue-88876.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
refs-to-cell-in-final.rs const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
refs-to-cell-in-final.stderr const-eval interner: from-scratch rewrite using mutability information from provenance rather than types 2024-01-22 09:28:00 +01:00
repeat_match.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-in-const-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-const-stability-require-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-const-stability-require-const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-impl-const-stability.rs bless tests 2023-08-06 13:34:53 +00:00
rustc-impl-const-stability.stderr Fix ICE 2023-08-07 17:16:10 +00:00
rvalue-static-promotion.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
self_normalization2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self_normalization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
signed_enum_discr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stable-precise-live-drops-in-libcore.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stable-precise-live-drops-in-libcore.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
static_mut_containing_mut_ref2.mut_refs.stderr Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
static_mut_containing_mut_ref2.rs static mut: allow reference to arbitrary types, not just slices and arrays 2024-01-28 10:00:23 +01:00
static_mut_containing_mut_ref2.stock.stderr static mut: allow reference to arbitrary types, not just slices and arrays 2024-01-28 10:00:23 +01:00
static_mut_containing_mut_ref3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static_mut_containing_mut_ref3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
static_mut_containing_mut_ref.rs Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
static_mut_containing_mut_ref.stderr Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
static-cycle-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-mut-refs.rs static mut: allow reference to arbitrary types, not just slices and arrays 2024-01-28 10:00:23 +01:00
static-raw-pointer-interning2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-raw-pointer-interning.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
timeout.rs Stop hiding const eval limit in external macros 2023-06-22 14:11:10 +00:00
timeout.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
too_generic_eval_ice.rs defer array len printing to const arg printing 2023-01-18 04:07:39 +00:00
too_generic_eval_ice.stderr Use <T, U> for array/slice equality impls 2024-01-26 12:40:04 -05:00
trait_specialization.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait_specialization.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
transmute-const.rs Remove no-longer-needed allow(dead_code) from the tests 2024-01-18 13:16:09 -05:00
transmute-size-mismatch-before-typeck.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
transmute-size-mismatch-before-typeck.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
try-operator.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
try-operator.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
tuple-struct-constructors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore_const_names.rs Update tests 2024-02-07 10:42:01 +08:00
uninhabited-const-issue-61744.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
uninhabited-const-issue-61744.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
union_constant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnormalized-param-env.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unstable-const-fn-in-libcore.rs Enable effects for libcore 2023-09-20 03:02:14 +00:00
unstable-const-fn-in-libcore.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
unstable-precise-live-drops-in-libcore.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unwind-abort.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
validate_never_arrays.rs remove an unnecessary stderr-per-bitwidth 2024-01-06 14:54:08 +01:00
validate_never_arrays.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
write_to_mut_ref_dest.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
write_to_mut_ref_dest.stock.stderr Bless tests 2024-01-13 12:46:58 -05:00
write_to_static_via_mut_ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
write_to_static_via_mut_ref.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
write-to-static-mut-in-static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
write-to-static-mut-in-static.stderr Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
zst_no_llvm_alloc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00