rust/src/test/ui/consts
2019-11-18 11:03:03 -08:00
..
auxiliary Add regression test for CONST_ERR lints in extern macros 2019-10-11 17:13:38 -04:00
const_constructor Stabilize const_constructor 2019-10-27 21:25:35 +00:00
const-eval Remove E0308 note when primary label has all info 2019-11-18 11:03:03 -08:00
const-extern-fn Add support for 'extern const fn' 2019-10-02 00:38:52 -04:00
min_const_fn Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
miri_unleashed Silence miri unleashed warnings in test 2019-11-15 10:33:52 -08:00
rfc-2203-const-array-repeat-exprs
std Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
array-literal-index-oob.rs
array-literal-index-oob.stderr
assoc-const.rs
bswap-const.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_fn_return_nested_fn_ptr.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 Add test for promotability in let 2019-11-06 07:09:16 -08:00
const_let_refutable.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
const_let_refutable.stderr Make exhaustiveness error message more consistent for slice patterns 2019-11-05 17:59:01 +00:00
const_short_circuit.rs
const_short_circuit.stderr
const-adt-align-mismatch.rs
const-array-oob-arith.rs
const-array-oob-arith.stderr Remove E0308 note when primary label has all info 2019-11-18 11:03:03 -08:00
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.rs [const-prop] Handle MIR Rvalue::Aggregates 2019-10-18 06:29:57 -04:00
const-err2.stderr [const-prop] Handle MIR Rvalue::Aggregates 2019-10-18 06:29:57 -04:00
const-err3.rs [const-prop] Handle MIR Rvalue::Aggregates 2019-10-18 06:29:57 -04:00
const-err3.stderr [const-prop] Handle MIR Rvalue::Aggregates 2019-10-18 06:29:57 -04:00
const-err4.rs
const-err4.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
const-err-early.rs
const-err-early.stderr
const-err-multi.rs
const-err-multi.stderr
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 Add regression test for CONST_ERR lints in extern macros 2019-10-11 17:13:38 -04:00
const-external-macro-const-err.stderr Add regression test for CONST_ERR lints in extern macros 2019-10-11 17:13:38 -04:00
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.rs
const-if.rs Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
const-if.stderr Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
const-index-feature-gate.rs
const-int-conversion-rpass.rs
const-int-conversion.rs
const-int-conversion.stderr
const-int-overflowing-rpass.rs
const-int-overflowing.rs
const-int-overflowing.stderr
const-int-pow-rpass.rs make is_power_of_two a const function 2019-10-04 11:01:17 +02:00
const-int-rotate-rpass.rs
const-int-rotate.rs
const-int-rotate.stderr
const-int-saturating-arith.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
const-int-sign-rpass.rs
const-int-sign.rs
const-int-sign.stderr
const-int-unchecked.rs
const-int-unchecked.stderr
const-int-wrapping-rpass.rs
const-int-wrapping.rs
const-int-wrapping.stderr
const-integer-bool-ops.rs
const-integer-bool-ops.stderr Remove E0308 note when primary label has all info 2019-11-18 11:03:03 -08:00
const-labeled-break.rs Bless back-compat breakages 2019-11-13 10:44:14 -08:00
const-labeled-break.stderr Bless back-compat breakages 2019-11-13 10:44:14 -08:00
const-len-underflow-separate-spans.rs
const-len-underflow-separate-spans.stderr
const-len-underflow-subspans.rs
const-len-underflow-subspans.stderr
const-loop.rs Bless less verbose error messages 2019-11-13 10:44:14 -08:00
const-loop.stderr Bless less verbose error messages 2019-11-13 10:44:14 -08:00
const-match-check.eval1.stderr Suggest if let on let refutable binding 2019-10-09 12:25:48 -07:00
const-match-check.eval2.stderr Suggest if let on let refutable binding 2019-10-09 12:25:48 -07:00
const-match-check.matchck.stderr Suggest if let on let refutable binding 2019-10-09 12:25:48 -07:00
const-match-check.rs
const-match-pattern-arm.rs Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
const-match-pattern-arm.stderr Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
const-meth-pattern.rs
const-multi-ref.rs Add additional const tests 2019-09-28 07:06:51 -07:00
const-multi-ref.stderr Add additional const tests 2019-09-28 07:06:51 -07: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 check_match: unify check_irrefutable & check_exhaustive more. 2019-09-09 16:44:23 +02:00
const-pattern-irrefutable.stderr Improve diagnostic for let A = 0; 2019-09-28 03:07:31 +02:00
const-pattern-not-const-evaluable.rs
const-pattern-variant.rs
const-prop-ice2.rs
const-prop-ice2.stderr
const-prop-ice.rs [const-prop] Handle MIR Rvalue::Repeat 2019-10-18 06:29:56 -04:00
const-prop-ice.stderr [const-prop] Handle MIR Rvalue::Repeat 2019-10-18 06:29:56 -04:00
const-prop-read-static-in-const.rs Respond to code review feedback and fix tidy 2019-09-27 20:11:12 -04:00
const-prop-read-static-in-const.stderr Respond to code review feedback and fix tidy 2019-09-27 20:11:12 -04:00
const-ptr-nonnull-rpass.rs
const-ptr-nonnull.rs
const-ptr-nonnull.stderr
const-ptr-unique-rpass.rs
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 consistent handling of missing sysroot spans 2019-11-02 23:15:45 +01:00
const-size_of-cycle.stderr consistent handling of missing sysroot spans 2019-11-02 23:15:45 +01: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 Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
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-vec-of-fns.rs
const-vec-syntax.rs
const-vecs-and-slices.rs
const.rs
consts-in-patterns.rs
dangling_raw_ptr.rs
dangling_raw_ptr.stderr
dangling-alloc-id-ice.rs
dangling-alloc-id-ice.stderr
deref_in_pattern.rs
drop_none.rs
enum-discr-type-err.rs
enum-discr-type-err.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
ice-48279.rs
int_ptr_for_zst_slices.rs
invalid_promotion.rs
issue-37550.rs
issue-51559.rs
issue-51559.stderr
issue-52432.rs Add test for issue-52432 2019-11-13 00:36:38 +09:00
issue-52432.stderr Add test for issue-52432 2019-11-13 00:36:38 +09:00
issue-54224.rs
issue-54224.stderr
issue-56164.rs
issue-56164.stderr
issue-62045.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-63226.rs
issue-64059-2.rs Fix tests again 2019-09-02 05:01:39 +09:00
issue-64059.rs Fix tests again 2019-09-02 05:01:39 +09:00
issue-64506.rs Move test next to likeminded ones 2019-10-09 19:09:08 +02:00
issue-64662.rs Add test for issue-64662 2019-10-01 00:40:42 +09:00
issue-64662.stderr Add test for issue-64662 2019-10-01 00:40:42 +09:00
issue-65348.rs Add regression test for #65348 2019-10-13 16:00:49 -07:00
issue-66342.rs Only run tests on x86_64 2019-11-16 13:01:12 -05:00
issue-66397.rs Only run tests on x86_64 2019-11-16 13:01:12 -05:00
issue-broken-mir.rs
locals-in-const-fn.rs
match_ice.rs
match_ice.stderr check_match: refactor + improve non-exhaustive diag for default binding modes. 2019-09-09 16:44:23 +02:00
match-const-fn-structs.rs
mozjs-error.rs
non-scalar-cast.rs
offset_from_ub.rs also test different integers 2019-11-04 13:32:38 +01:00
offset_from_ub.stderr also test different integers 2019-11-04 13:32:38 +01:00
offset_from.rs test offset_from with two integers 2019-11-04 13:32:38 +01:00
packed_pattern2.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
packed_pattern2.stderr Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
packed_pattern.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
packed_pattern.stderr Update test stderr with results of enabling unused lints 2019-09-08 11:32:28 -04:00
partial_qualif.rs
partial_qualif.stderr
projection_qualif.rs
projection_qualif.stderr
promote_borrowed_field.rs Test that borrows of projections are promoted everywhere 2019-11-03 12:24:35 -08:00
promote_const_let.rs
promote_const_let.stderr
promote_evaluation_unused_result.rs
promote_fn_calls_std.rs
promote_fn_calls.rs
promoted_regression.rs
promoted-validation-55454.rs
promotion.rs
qualif_overwrite_2.rs
qualif_overwrite_2.stderr
qualif_overwrite.rs
qualif_overwrite.stderr
references.rs
repeat_match.rs
return-in-const-fn.rs
self_normalization2.rs
self_normalization.rs
signed_enum_discr.rs
single_variant_match_ice.rs Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
single_variant_match_ice.stderr Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
static_mut_containing_mut_ref2.rs
static_mut_containing_mut_ref2.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 Handle more cases involving impl and trait 2019-10-15 13:55:43 -07:00
transmute-const.rs
tuple-struct-constructors.rs
underscore_const_names.rs
uninhabited-const-issue-61744.rs
uninhabited-const-issue-61744.stderr
union_constant.rs
validate_never_arrays.rs
validate_never_arrays.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
zst_no_llvm_alloc.rs