..
auxiliary
Update tests with new feature gate
2020-09-27 10:46:41 -07:00
const-eval
Add test for const panic!(CONST).
2020-10-22 18:41:35 +02:00
const-extern-fn
Bless output
2020-09-29 19:20:33 -07:00
const-mut-refs
Bless tests
2020-09-23 21:05:59 -07:00
const_constructor
Rename HAIR to THIR (Typed HIR).
2020-07-31 22:15:12 +00:00
const_in_pattern
Add a test for #53708
2020-10-21 19:25:45 +01:00
const_limit
Update tests
2020-06-28 10:08:12 -07:00
control-flow
Add #[cfg(panic = "...")]
2020-11-09 15:30:49 +00:00
min_const_fn
Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obk
2020-10-25 18:43:40 +09:00
miri_unleashed
move &mut-in-const check from interning to validation
2020-10-26 08:56:54 +01:00
rfc-2203-const-array-repeat-exprs
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
std
Make Ipv4Addr and Ipv6Addr const tests unit tests under library
2020-09-03 23:17:21 +02:00
array-literal-index-oob.rs
Fix some tests failing in --pass check mode
2020-04-19 17:19:28 +03:00
array-literal-index-oob.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
array-to-slice-cast.rs
Stabilize casts and coercions to &[T] in const fn
2020-06-30 11:15:28 +02:00
ascii_ctype.rs
stabilize const_ascii_ctype_on_intrinsics
2020-06-29 10:36:55 +02:00
assoc-const.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
assoc_const_generic_impl.rs
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
assoc_const_generic_impl.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
associated_const_generic.rs
Array repeat expression lengths must be monomorphic at MIR building time
2020-01-16 16:18:08 +01:00
async-block.rs
Regression test for case in #77361
2020-10-01 10:11:58 -07:00
async-block.stderr
Regression test for case in #77361
2020-10-01 10:11:58 -07:00
bswap-const.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
cast-discriminant-zst-enum.rs
add missing feature flag
2020-09-07 13:05:59 +02:00
chained-constants-stackoverflow.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-address-of-interior-mut.rs
Add more tests for raw_ref_op
2019-12-18 20:30:00 +00:00
const-address-of-interior-mut.stderr
Add more tests for raw_ref_op
2019-12-18 20:30:00 +00:00
const-address-of-mut.rs
Bless tests
2020-10-01 11:22:23 -07:00
const-address-of-mut.stderr
Bless tests
2020-10-01 11:22:23 -07:00
const-address-of.rs
Add more tests for raw_ref_op
2019-12-18 20:30:00 +00:00
const-adt-align-mismatch.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-array-oob-arith.rs
Make sure array length diagnostic doesn't regress
2019-05-28 21:35:20 +01:00
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
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-array-oob.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-autoderef.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-big-enum.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-binops.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-bitshift-rhs-inference.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-block-cross-crate-fn.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-block-item-macro-codegen.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-block-item.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-block-non-item-statement-3.rs
Liveness analysis for everybody
2020-09-29 23:45:31 +02:00
const-block-non-item-statement-rpass.rs
Liveness analysis for everybody
2020-09-29 23:45:31 +02:00
const-block-non-item-statement.rs
use check-pass instead of build-pass in consts ui test suits
2020-11-10 21:34:05 +09:00
const-block.rs
update tests
2020-03-31 19:01:49 +02:00
const-bound.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-byte-str-cast.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-call.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-call.stderr
hide --explain hint if error has no extended info
2019-04-18 13:29:28 -04:00
const-cast-different-types.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-cast-different-types.stderr
Update tests
2019-03-11 23:10:26 +03:00
const-cast-ptr-int.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-cast-wrong-type.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-cast-wrong-type.stderr
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
const-cast.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-const.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-contents.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-cross-crate-const.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-cross-crate-extern.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-deref-ptr.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-deref-ptr.stderr
--bless --compare-mode=nll
2020-02-09 20:43:49 +01:00
const-deref.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-endianess.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-byref-self.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-byref.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-cast.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-ptr.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-struct.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-struct2.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-structlike.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-tuple.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-tuple2.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-tuplestruct.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-tuplestruct2.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-vec-index.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-vec-ptr.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-enum-vector.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-err-early.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-err-early.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-err-multi.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-err-multi.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-err-rpass.rs
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03:00
const-err.rs
better lint names
2020-02-18 22:49:47 +01:00
const-err.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-err2.noopt.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-err2.opt.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-err2.opt_with_overflow_checks.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-err2.rs
avoid excessive number of revisions
2020-02-19 11:25:41 +01:00
const-err4.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-err4.stderr
Fixed grammar/style in error messages and reblessed tests.
2019-09-06 03:46:08 +01:00
const-expr-addr-operator.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const-expr-in-fixed-length-vec.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-expr-in-vec-repeat.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-extern-function.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
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
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-fields-and-indexing.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-float-bits-conv.rs
Fix compile-flags directive
2020-08-23 10:45:26 -07:00
const-float-classify.rs
Fix compile-flags directive
2020-08-23 10:45:26 -07:00
const-fn-const-eval.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-fn-destructuring-arg.rs
use check-pass instead of build-pass in consts ui test suits
2020-11-10 21:34:05 +09:00
const-fn-feature-flags.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-fn-method.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-fn-mismatch.rs
ast_validation: tweak diagnostic output
2020-02-13 10:40:17 +01:00
const-fn-mismatch.stderr
ast_validation: tweak diagnostic output
2020-02-13 10:40:17 +01:00
const-fn-nested.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-fn-not-in-trait.rs
ast_validation: tweak diagnostic output
2020-02-13 10:40:17 +01:00
const-fn-not-in-trait.stderr
ast_validation: tweak diagnostic output
2020-02-13 10:40:17 +01:00
const-fn-not-safe-for-const.rs
Bless tests
2020-09-22 10:05:58 -07:00
const-fn-not-safe-for-const.stderr
Clarify suggestion for E0013
2020-01-10 13:31:36 +00:00
const-fn-stability-calls-3.rs
compiletest: Remove skip-codegen
2019-06-16 12:23:22 +03:00
const-fn-stability-calls.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-fn-type-name-any.rs
Add a test for std::any::type_name() as a const fn
2019-07-29 22:57:21 -04:00
const-fn-type-name.rs
Require const stability attributes on intrinsics to be able to use them in constant contexts
2019-12-20 23:15:50 +01:00
const-fn-val.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-fn-zst-args.rs
Add memoization for const function evaluations
2019-11-27 12:01:04 +00:00
const-fn.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-index-feature-gate.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-int-arithmetic-overflow.rs
fix various typos
2020-03-06 15:19:31 +01:00
const-int-arithmetic.rs
stabilize const_saturating_int_methods
2020-06-29 10:36:18 +02:00
const-int-conversion-rpass.rs
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-conversion.rs
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-conversion.stderr
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-overflowing-rpass.rs
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-overflowing.rs
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-int-overflowing.stderr
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-int-pow-rpass.rs
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-rotate-rpass.rs
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03:00
const-int-rotate.rs
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-int-rotate.stderr
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-int-saturating-arith.rs
stabilize const_saturating_int_methods
2020-06-29 10:36:18 +02:00
const-int-sign-rpass.rs
stabilize const_int_sign
2020-06-29 10:36:41 +02:00
const-int-sign.rs
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-int-sign.stderr
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-int-unchecked.rs
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-unchecked.stderr
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-wrapping-rpass.rs
Migrate to numeric associated consts
2020-06-10 01:35:47 +00:00
const-int-wrapping.rs
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-int-wrapping.stderr
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-integer-bool-ops.rs
ty: convert ErrorHandled::Reported to ConstKind::Error.
2020-04-16 19:00:30 +03:00
const-integer-bool-ops.stderr
ty: convert ErrorHandled::Reported to ConstKind::Error.
2020-04-16 19:00:30 +03:00
const-labeled-break.rs
Update tests
2020-06-28 10:08:12 -07:00
const-len-underflow-separate-spans.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-len-underflow-separate-spans.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-len-underflow-subspans.rs
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-len-underflow-subspans.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-match-check.eval1.stderr
Show the values and computation that would overflow a const evaluation or propagation
2020-06-26 10:08:52 +02:00
const-match-check.eval2.stderr
Show the values and computation that would overflow a const evaluation or propagation
2020-06-26 10:08:52 +02:00
const-match-check.matchck.stderr
Show the values and computation that would overflow a const evaluation or propagation
2020-06-26 10:08:52 +02:00
const-match-check.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-match-pattern-arm.rs
Update tests
2020-06-28 10:08:10 -07:00
const-meth-pattern.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-multi-ref.rs
update diagnostics for &mut in constants
2020-06-19 11:48:46 -05:00
const-multi-ref.stderr
add new error code
2020-06-19 14:16:38 -05:00
const-needs_drop.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-negation.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-negative.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-nullary-enum.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-nullary-univariant-enum.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-pattern-irrefutable.rs
Show the values and computation that would overflow a const evaluation or propagation
2020-06-26 10:08:52 +02:00
const-pattern-irrefutable.stderr
Show the values and computation that would overflow a const evaluation or propagation
2020-06-26 10:08:52 +02:00
const-pattern-not-const-evaluable.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const-pattern-variant.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-points-to-static.rs
warn about each skipped feature gate
2020-05-03 14:23:08 +02:00
const-points-to-static.stderr
warn about each skipped feature gate
2020-05-03 14:23:08 +02:00
const-prop-ice.rs
fix tests, and use variants to test debug and release builds together
2020-02-15 10:47:27 +01:00
const-prop-ice.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-prop-ice2.rs
fix tests, and use variants to test debug and release builds together
2020-02-15 10:47:27 +01:00
const-prop-ice2.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-prop-ice3.rs
Check const-propagation of borrows of unsized places
2019-12-18 20:09:11 +00:00
const-prop-overflowing-casts.rs
Revert const_err lint checking of casts
2020-01-02 21:21:02 -05:00
const-prop-read-static-in-const.rs
warn about each skipped feature gate
2020-05-03 14:23:08 +02:00
const-prop-read-static-in-const.stderr
warn about each skipped feature gate
2020-05-03 14:23:08 +02:00
const-ptr-nonnull-rpass.rs
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03:00
const-ptr-nonnull.rs
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-ptr-nonnull.stderr
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-ptr-unique-rpass.rs
rename-unique: Rename Unique::empty() to Unique::dangling()
2020-04-30 11:00:45 +02:00
const-ptr-unique.rs
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-ptr-unique.stderr
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
const-rec-and-tup.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-region-ptrs-noncopy.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-region-ptrs.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-repeated-values.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-size_of-align_of.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-size_of-cycle.rs
tests: remove ignore directives from tests that mention core/alloc/std spans.
2020-04-02 11:48:34 +03:00
const-size_of-cycle.stderr
Move from {{closure}}#0 syntax to {closure#0} for (def) path components
2020-09-25 22:46:14 +01:00
const-size_of_val-align_of_val-extern-type.rs
Test {align,size}_of_val in a const context
2020-07-29 19:41:35 -07:00
const-size_of_val-align_of_val-extern-type.stderr
Test {align,size}_of_val in a const context
2020-07-29 19:41:35 -07:00
const-size_of_val-align_of_val.rs
Test {align,size}_of_val in a const context
2020-07-29 19:41:35 -07:00
const-slice-oob.rs
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-slice-oob.stderr
Make invalid integer operation messages consistent
2020-09-26 13:34:49 +01:00
const-str-ptr.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-struct-offsets.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-struct.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-trait-to-trait.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-tup-index-span.rs
ty: convert ErrorHandled::Reported to ConstKind::Error.
2020-04-16 19:00:30 +03:00
const-tup-index-span.stderr
ty: convert ErrorHandled::Reported to ConstKind::Error.
2020-04-16 19:00:30 +03:00
const-tuple-struct.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-type-mismatch.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-type-mismatch.stderr
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
const-typeid-of-rpass.rs
revert const_type_id stabilization
2020-09-23 09:40:51 +10:00
const-unit-struct.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-unsafe-fn.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-unsized.rs
Update ui test suite to use dyn
2019-05-29 00:57:31 -04:00
const-unsized.stderr
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
const-unwrap.rs
Test Option::unwrap in a const context
2020-07-30 13:09:45 -07:00
const-unwrap.stderr
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
const-validation-fail-55455.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const-variant-count.rs
Fix tests
2020-06-24 15:10:10 +01:00
const-vec-of-fns.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-vec-syntax.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-vecs-and-slices.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const_arg_local.rs
Only run SIMD tests on x86
2019-04-07 21:46:39 +02:00
const_arg_local.stderr
Only run SIMD tests on x86
2019-04-07 21:46:39 +02:00
const_arg_promotable.rs
Only run SIMD tests on x86
2019-04-07 21:46:39 +02:00
const_arg_promotable.stderr
Only run SIMD tests on x86
2019-04-07 21:46:39 +02:00
const_arg_promotable2.rs
Explain the existience of the regression test
2019-06-05 13:25:17 +02:00
const_arg_promotable2.stderr
Explain the existience of the regression test
2019-06-05 13:25:17 +02:00
const_arg_wrapper.rs
Only run SIMD tests on x86
2019-04-07 21:46:39 +02:00
const_arg_wrapper.stderr
Only run SIMD tests on x86
2019-04-07 21:46:39 +02:00
const_discriminant.rs
Separate feature flags
2020-09-07 13:04:41 +02:00
const_fn_floating_point_arithmetic.gated.stderr
Move const fn floating point test out of min_const_fn
2020-09-25 10:39:09 -07:00
const_fn_floating_point_arithmetic.rs
Move const fn floating point test out of min_const_fn
2020-09-25 10:39:09 -07:00
const_fn_floating_point_arithmetic.stock.stderr
Use proper issue for const_fn_floating_point_arithmetic
2020-09-25 10:39:11 -07:00
const_fn_return_nested_fn_ptr.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const_forget.rs
stabilize const mem::forget
2020-06-30 11:34:27 +02:00
const_let_assign.rs
use check-pass instead of build-pass in consts ui test suits
2020-11-10 21:34:05 +09:00
const_let_assign2.rs
use check-pass instead of build-pass in consts ui test suits
2020-11-10 21:34:05 +09:00
const_let_assign3.rs
Bless mut tests
2020-09-29 19:20:33 -07:00
const_let_assign3.stderr
Bless mut tests
2020-09-29 19:20:33 -07:00
const_let_eq.rs
encode ; stmt w/o expr as StmtKind::Empty
2020-03-01 23:02:17 +01:00
const_let_eq_float.rs
Bless tests
2020-09-25 10:38:23 -07:00
const_let_irrefutable.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const_let_promote.rs
Add test for promotability in let
2019-11-06 07:09:16 -08:00
const_let_refutable.rs
Update tests
2020-06-28 10:08:10 -07:00
const_let_refutable.stderr
Update tests
2020-06-28 10:08:10 -07:00
const_prop_slice_pat_ice.rs
slice_patterns: remove gates in tests
2020-01-18 19:33:47 +01:00
const_short_circuit.rs
Update tests
2020-06-28 10:08:10 -07:00
const_unsafe_unreachable.rs
Add a passing test for const unsafe_unreachable
2020-07-17 22:00:06 +02:00
const_unsafe_unreachable_ub.rs
Update UB test to fail during build with contant errors
2020-07-18 02:27:47 +02:00
const_unsafe_unreachable_ub.stderr
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
consts-in-patterns.rs
Implement destructuring for all aggregates and for references
2020-09-20 13:28:18 +02:00
dangling-alloc-id-ice.rs
update dangling-alloc-id-ice test
2020-11-05 13:24:21 +05:30
dangling-alloc-id-ice.stderr
update dangling-alloc-id-ice test
2020-11-05 13:24:21 +05:30
dangling_raw_ptr.rs
avoid raising interpreter errors from interning
2020-05-10 11:47:20 +02:00
dangling_raw_ptr.stderr
avoid raising interpreter errors from interning
2020-05-10 11:47:20 +02:00
deref_in_pattern.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
drop_none.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
enum-discr-type-err.rs
Update tests
2020-01-09 21:23:12 +03:00
enum-discr-type-err.stderr
fix is_const_context
2020-05-20 14:57:16 +02:00
huge-values.rs
Add tests
2020-01-15 10:30:26 +01:00
ice-48279.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
ice-zst-static-access.rs
Name test appropriately and link to the issues it regress-checks for
2020-05-01 17:45:10 +02:00
inline_asm.rs
Remove E0019, use E0015 for inline assembly in a const
2020-09-30 11:29:25 -07:00
inline_asm.stderr
Remove E0019, use E0015 for inline assembly in a const
2020-09-30 11:29:25 -07:00
int_ptr_for_zst_slices.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
invalid_promotion.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
issue-37550.rs
Update tests with new feature gate
2020-09-27 10:46:41 -07:00
issue-51559.rs
fix rebase fallout
2019-08-02 23:04:11 +02:00
issue-51559.stderr
fix rebase fallout
2019-08-02 23:04:11 +02:00
issue-52432.rs
typeck: workaround WF hole in to_const.
2020-04-14 19:31:31 +03:00
issue-52432.stderr
typeck: workaround WF hole in to_const.
2020-04-14 19:31:31 +03:00
issue-54224.rs
Remove feature(nll) when compare mode is sufficient
2019-05-12 18:46:43 +01:00
issue-54224.stderr
Remove feature(nll) when compare mode is sufficient
2019-05-12 18:46:43 +01:00
issue-56164.rs
Update tests with new feature gate
2020-09-27 10:46:41 -07:00
issue-56164.stderr
Bless tests
2020-09-27 10:46:41 -07:00
issue-62045.rs
Use check-pass in ui tests where appropriate
2019-11-04 16:03:46 +01:00
issue-63226.rs
Adjust regression test
2019-08-15 16:59:03 +09:00
issue-63952.rs
Add test for issue-63952
2020-02-16 03:22:00 +09:00
issue-63952.stderr
fix some cases of unexpected exceptions leaving validation
2020-03-08 22:04:54 +01:00
issue-64059.rs
avoid excessive number of revisions
2020-02-19 11:25:41 +01: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
Indicate origin of where type parameter for uninferred types
2019-12-14 11:10:21 +01: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-66345.rs
[const prop] Fix "alloc id without corresponding allocation" ICE
2019-11-23 15:11:59 -05:00
issue-66397.rs
Only run tests on x86_64
2019-11-16 13:01:12 -05:00
issue-66787.rs
[const-prop] Fix ICE calculating enum discriminant
2019-12-03 06:11:29 -05:00
issue-67529.rs
Turn off const propagation of ref taking
2020-01-12 22:27:39 -05:00
issue-67640.rs
Turn off const propagation of ref taking
2020-01-12 22:27:39 -05:00
issue-67641.rs
Turn off const propagation of ref taking
2020-01-12 22:27:39 -05:00
issue-67696-const-prop-ice.rs
Add additional regression test
2020-01-13 05:00:55 -05:00
issue-67862.rs
Turn off const propagation of ref taking
2020-01-12 22:27:39 -05:00
issue-68264-overflow.rs
Add @weiznich's regression test
2020-01-17 08:22:40 -05:00
issue-68542-closure-in-array-len.rs
Don't call tcx.fn_sig on closures
2020-01-27 00:49:56 -05:00
issue-68542-closure-in-array-len.stderr
Move from {{closure}}#0 syntax to {closure#0} for (def) path components
2020-09-25 22:46:14 +01:00
issue-68684.rs
Check has_typeck_tables before calling typeck_tables_of
2020-02-14 21:49:57 +09:00
issue-69191-ice-on-uninhabited-enum-field.rs
Added oli's multivariant test case (alpha renaming the enum name itself).
2020-03-06 06:46:37 -05:00
issue-69310-array-size-lit-wrong-ty.rs
Remove leftover mentions of from_anon_const
2020-03-23 22:24:31 +01:00
issue-69310-array-size-lit-wrong-ty.stderr
lit_to_const: gracefully bubble up type errors.
2020-02-20 23:43:16 +01:00
issue-69312.rs
Add test for #69312
2020-02-20 21:25:19 -05:00
issue-70773-mir-typeck-lt-norm.rs
normalize field projection ty to fix broken MIR issue
2020-04-23 18:14:01 -03:00
issue-70942-trait-vs-impl-mismatch.rs
Detect mistyped associated consts in Instance::resolve.
2020-04-18 18:39:59 +03:00
issue-70942-trait-vs-impl-mismatch.stderr
Detect mistyped associated consts in Instance::resolve.
2020-04-18 18:39:59 +03:00
issue-73976-monomorphic.rs
revert const_type_id stabilization
2020-09-23 09:40:51 +10:00
issue-73976-polymorphic.rs
revert const_type_id stabilization
2020-09-23 09:40:51 +10:00
issue-73976-polymorphic.stderr
revert const_type_id stabilization
2020-09-23 09:40:51 +10:00
issue-77062-large-zst-array.rs
Add test case for #77062
2020-10-20 21:51:55 -04:00
issue-78655.rs
make intern_const_alloc_recursive return error fix #78655
2020-11-04 23:22:14 +05:30
issue-78655.stderr
make intern_const_alloc_recursive return error fix #78655
2020-11-04 23:22:14 +05:30
issue-broken-mir.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
locals-in-const-fn.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
match-const-fn-structs.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
match_ice.rs
Make sure we keep emitting a hard error
2020-09-23 18:36:53 +02:00
match_ice.stderr
Make sure we keep emitting a hard error
2020-09-23 18:36:53 +02:00
mozjs-error.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
non-scalar-cast.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
offset.rs
remove feature gate from tests
2020-08-22 15:07:32 +02:00
offset_from.rs
remove feature gate from tests
2020-08-22 15:07:32 +02:00
offset_from_ub.rs
remove feature gate from tests
2020-08-22 15:07:32 +02:00
offset_from_ub.stderr
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
offset_ub.rs
Add checks and tests for computing abs(offset_bytes)
2020-05-26 02:06:18 -07:00
offset_ub.stderr
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
packed_pattern.rs
Make error and warning annotations mandatory in UI tests
2019-11-10 21:01:02 +01:00
packed_pattern.stderr
rustc: Add a warning count upon completion
2020-04-11 16:15:24 +02:00
packed_pattern2.rs
Make error and warning annotations mandatory in UI tests
2019-11-10 21:01:02 +01:00
packed_pattern2.stderr
rustc: Add a warning count upon completion
2020-04-11 16:15:24 +02:00
partial_qualif.rs
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
partial_qualif.stderr
Update tests
2019-03-11 23:10:26 +03:00
projection_qualif.mut_refs.stderr
add new error code
2020-06-19 14:16:38 -05:00
projection_qualif.rs
Bless mut tests
2020-09-29 19:20:33 -07:00
projection_qualif.stock.stderr
Bless mut tests
2020-09-29 19:20:33 -07:00
promote-not.rs
stop promoting union field accesses in 'const'
2020-10-04 15:25:26 +02:00
promote-not.stderr
stop promoting union field accesses in 'const'
2020-10-04 15:25:26 +02:00
promote_borrowed_field.rs
Test that borrows of projections are promoted everywhere
2019-11-03 12:24:35 -08:00
promote_const_let.rs
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
promote_const_let.stderr
update tests for migrate mode by default
2019-04-22 08:40:08 +01:00
promote_evaluation_unused_result.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
promote_fn_calls.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
promote_fn_calls_std.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
promoted-validation-55454.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
promoted_div_by_zero.rs
Skip tests on emscripten
2020-05-08 00:39:02 +09:00
promoted_regression.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
promotion-mutable-ref.rs
add compile-fail test for &mut promotion
2020-09-06 14:14:31 +02:00
promotion.rs
cleanup promotion const_kind checks
2020-09-19 22:14:17 +02:00
ptr_comparisons.rs
Make a test platform independent
2020-08-17 15:31:48 +02:00
ptr_comparisons.stderr
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
ptr_is_null.rs
Make <*const T>::is_null const fn
2020-08-11 11:45:47 +02:00
qualif_overwrite.rs
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
qualif_overwrite.stderr
Update tests
2019-03-11 23:10:26 +03:00
qualif_overwrite_2.rs
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
qualif_overwrite_2.stderr
Update tests
2019-03-11 23:10:26 +03:00
raw-ptr-const.rs
Miri interning: replace ICEs by proper errors, make intern_shallow type signature more precise
2020-05-10 11:45:43 +02:00
raw-ptr-const.stderr
Miri interning: replace ICEs by proper errors, make intern_shallow type signature more precise
2020-05-10 11:45:43 +02:00
raw_pointer_promoted.rs
Promoteds can contain raw pointers, but these must still only point to immutable allocations
2020-01-15 10:48:22 +01:00
read_from_static_mut_ref.rs
update diagnostics for &mut in constants
2020-06-19 11:48:46 -05:00
read_from_static_mut_ref.stderr
add new error code
2020-06-19 14:16:38 -05:00
recursive-zst-static.default.stderr
Address review comments
2020-09-19 10:36:36 +02:00
recursive-zst-static.rs
Address review comments
2020-09-19 10:36:36 +02:00
recursive-zst-static.unleash.stderr
Address review comments
2020-09-19 10:36:36 +02:00
references.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
repeat_match.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
return-in-const-fn.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
self_normalization.rs
Update to new passing-ui-test scheme
2019-08-05 17:48:05 +02:00
self_normalization2.rs
Update to new passing-ui-test scheme
2019-08-05 17:48:05 +02:00
signed_enum_discr.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
stable-precise-live-drops-in-libcore.rs
Test that const_precise_live_drops can't be depended upon stably
2020-09-16 14:17:51 -07:00
stable-precise-live-drops-in-libcore.stderr
Test that const_precise_live_drops can't be depended upon stably
2020-09-16 14:17:51 -07:00
static-cycle-error.rs
Don't access a static just for its size and alignment
2019-07-25 19:29:48 +02:00
static-raw-pointer-interning.rs
Make interning explicitly care about types and the mutability of memory
2019-06-19 09:52:35 +02:00
static-raw-pointer-interning2.rs
Make interning explicitly care about types and the mutability of memory
2019-06-19 09:52:35 +02:00
static_mut_containing_mut_ref.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
static_mut_containing_mut_ref2.mut_refs.stderr
add new error code
2020-06-19 14:16:38 -05:00
static_mut_containing_mut_ref2.rs
Bless mut tests
2020-09-29 19:20:33 -07:00
static_mut_containing_mut_ref2.stock.stderr
Bless mut tests
2020-09-29 19:20:33 -07:00
static_mut_containing_mut_ref3.rs
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
static_mut_containing_mut_ref3.stderr
bless; add test for mutating a static
2020-03-24 08:27:46 +01:00
too_generic_eval_ice.rs
Remove the usage of the LengthAtMost32 trait
2020-07-05 15:47:08 +03:00
too_generic_eval_ice.stderr
pretty: trim paths of unique symbols
2020-09-02 22:26:37 +03:00
trait_specialization.rs
warn against 'specialization' feature
2020-06-16 09:39:34 +02:00
trait_specialization.stderr
Suggest minimal subset features in incomplete_features lint
2020-10-17 02:01:08 +09:00
transmute-const.rs
Stabilize transmute in constants and statics but not const fn
2020-07-11 09:22:17 +02:00
transmute-size-mismatch-before-typeck.rs
Update tests
2020-01-09 21:23:12 +03:00
transmute-size-mismatch-before-typeck.stderr
bikeshed
2020-04-16 18:47:05 +02:00
tuple-struct-constructors.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
underscore_const_names.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
uninhabited-const-issue-61744.rs
fix span of stack size error
2020-08-12 11:14:49 +02:00
uninhabited-const-issue-61744.stderr
fix span of stack size error
2020-08-12 11:14:49 +02:00
union_constant.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
unsizing-cast-non-null.rs
Bless tests
2020-09-22 10:05:58 -07:00
unsizing-cast-non-null.stderr
Bless tests
2020-09-22 10:05:58 -07:00
unstable-const-fn-in-libcore.rs
Bless tests
2020-09-22 10:05:58 -07:00
unstable-const-fn-in-libcore.stderr
Bless tests
2020-09-22 10:05:58 -07:00
unstable-precise-live-drops-in-libcore.rs
Test that const_precise_live_drops can't be depended upon stably
2020-09-16 14:17:51 -07:00
unwind-abort.rs
Add check-pass test for #[unwind(aborts)] on a const fn
2020-10-03 14:53:09 -07:00
validate_never_arrays.rs
Add tests
2020-01-15 10:30:26 +01:00
validate_never_arrays.stderr
miri value visitor: detect primitives by type, not layout
2020-03-06 22:41:49 +01:00
zst_no_llvm_alloc.rs
Promote Refs to constants instead of static
2020-01-10 09:08:24 +01:00