..
auxiliary
Require stable/unstable annotations for the constness of all stable functions with a const modifier
2019-12-13 11:27:02 +01:00
const-eval
Auto merge of #67667 - wesleywiser:speed_up_trivially_valid_constants, r=oli-obk
2019-12-30 11:31:04 +00:00
const-extern-fn
Move all intrinsic whitelists into the constness check file
2019-12-03 10:20:15 +01:00
const-mut-refs
Add more tests for raw_ref_op
2019-12-18 20:30:00 +00:00
const_constructor
Stabilize const_constructor
2019-10-27 21:25:35 +00:00
control-flow
Ensure test actually uses dataflow, not simulation
2019-12-13 10:39:15 -08:00
min_const_fn
Require issue = "none" over issue = "0" in unstable attributes
2019-12-21 13:16:18 +02:00
miri_unleashed
Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests
2019-12-28 12:26:48 -08:00
rfc-2203-const-array-repeat-exprs
Fix tests for RFC 2203 in a const
2019-11-22 11:01:31 -08:00
std
Fixed grammar/style in error messages and reblessed tests.
2019-09-06 03:46:08 +01:00
array-literal-index-oob.rs
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
array-literal-index-oob.stderr
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01: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
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
bswap-const.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03: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
Add more tests for raw_ref_op
2019-12-18 20:30:00 +00:00
const-address-of-mut.stderr
Add more tests for raw_ref_op
2019-12-18 20:30:00 +00: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
Remove unnecessary ignore-tidy-linelength
2019-04-23 11:42:14 +01:00
const-array-oob.stderr
Update ui tests
2019-04-23 11:42:14 +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
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
const-block-non-item-statement-rpass.rs
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03:00
const-block-non-item-statement.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const-block.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03: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
normalize use of backticks in compiler messages for libsyntax/feature_gate
2019-07-09 14:13:28 +02: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
Swap const evaluation lint spans to point at problem in primary span
2019-03-23 13:05:30 -07:00
const-err-multi.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-err-multi.stderr
Swap const evaluation lint spans to point at problem in primary span
2019-03-23 13:05:30 -07: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
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-err.stderr
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-err2.rs
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-err2.stderr
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-err3.rs
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-err3.stderr
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +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
Add regression test for CONST_ERR lints in extern macros
2019-10-11 17:13:38 -04: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-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
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +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
Remove licenses
2018-12-25 21:08:33 -07:00
const-fn-mismatch.stderr
Remove licenses
2018-12-25 21:08:33 -07: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
Remove licenses
2018-12-25 21:08:33 -07:00
const-fn-not-in-trait.stderr
Remove licenses
2018-12-25 21:08:33 -07:00
const-fn-not-safe-for-const.rs
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
const-fn-not-safe-for-const.stderr
Readjust const qualification to detect statics again
2019-11-21 20:54:55 +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-conversion-rpass.rs
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03:00
const-int-conversion.rs
Stabilize reverse_bits feature
2019-05-31 04:43:53 +00:00
const-int-conversion.stderr
Stabilize reverse_bits feature
2019-05-31 04:43:53 +00:00
const-int-overflowing-rpass.rs
test const abs, wrapping_abs, and overflowing_abs
2019-08-21 15:40:12 +02: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
make is_power_of_two a const function
2019-10-04 11:01:17 +02: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
Upgrade Emscripten targets to use upstream LLVM backend
2019-10-16 17:06:48 -07:00
const-int-sign-rpass.rs
test const abs, wrapping_abs, and overflowing_abs
2019-08-21 15:40:12 +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
unchecked_{shl,shr}: extend const tests.
2018-12-31 03:36:46 +01:00
const-int-unchecked.stderr
bless
2019-08-03 00:20:06 +02:00
const-int-wrapping-rpass.rs
test const abs, wrapping_abs, and overflowing_abs
2019-08-21 15:40:12 +02: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
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
const-integer-bool-ops.stderr
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
const-labeled-break.rs
Bless back-compat breakages
2019-11-13 10:44:14 -08:00
const-labeled-break.stderr
Bless unrelated tests with new help message
2019-12-13 10:39:14 -08:00
const-len-underflow-separate-spans.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-len-underflow-separate-spans.stderr
normalize use of backticks in compiler messages for librustc/lint
2019-07-17 22:49:48 +02:00
const-len-underflow-subspans.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-len-underflow-subspans.stderr
Remove licenses
2018-12-25 21:08:33 -07: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
Remove licenses
2018-12-25 21:08:33 -07:00
const-match-pattern-arm.rs
Bless const tests with improved diagnostics
2019-11-13 10:44:14 -08:00
const-match-pattern-arm.stderr
Reorganize, bless and add tests for const control flow
2019-11-21 16:55:13 -08: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
Also test shared borrows of Cell for good errors
2019-11-27 14:37:06 -08:00
const-multi-ref.stderr
Suggest feature for const_mut_refs errors
2019-12-02 09:43:39 -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-nonzero.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09: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
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
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
Dynamically prevent constants from accessing statics
2019-12-23 14:54:22 +01:00
const-points-to-static.stderr
Constants reading or referencing statics is illegal
2019-12-23 14:54:30 +01:00
const-prop-ice.rs
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-prop-ice.stderr
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-prop-ice2.rs
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
const-prop-ice2.stderr
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +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
Lint overflowing integer casts in const prop
2019-12-30 20:06:31 -05:00
const-prop-overflowing-casts.stderr
Lint overflowing integer casts in const prop
2019-12-30 20:06:31 -05:00
const-prop-read-static-in-const.rs
Dynamically prevent constants from accessing statics
2019-12-23 14:54:22 +01:00
const-prop-read-static-in-const.stderr
Constants reading or referencing statics is illegal
2019-12-23 14:54:30 +01: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
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03: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
Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests
2019-12-28 12:26:48 -08:00
const-size_of-cycle.stderr
Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests
2019-12-28 12:26:48 -08:00
const-slice-oob.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-slice-oob.stderr
normalize use of backticks in compiler messages for librustc/lint
2019-07-17 22:49:48 +02: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
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
const-tup-index-span.stderr
Surround types with backticks in type errors
2019-11-18 11:03:04 -08: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
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03:00
const-typeid-of.rs
Remove licenses
2018-12-25 21:08:33 -07:00
const-typeid-of.stderr
Remove licenses
2018-12-25 21:08:33 -07: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
Update ui test suite to use dyn
2019-05-29 00:57:31 -04:00
const-validation-fail-55455.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09: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_fn_return_nested_fn_ptr.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const_let_assign.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const_let_assign2.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
const_let_assign3.rs
const fn feature gate is not needed anymore in a lot of tests
2019-01-09 10:20:44 +01:00
const_let_assign3.stderr
Suggest feature for const_mut_refs errors
2019-12-02 09:43:39 -05:00
const_let_eq.rs
const fn feature gate is not needed anymore in a lot of tests
2019-01-09 10:20:44 +01:00
const_let_eq_float.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09: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
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_prop_slice_pat_ice.rs
Fix ICE in mir interpretation
2019-12-23 01:24:11 +01:00
const_short_circuit.rs
Stabilize underscore_const_names.
2019-06-10 06:17:39 +02:00
const_short_circuit.stderr
Stabilize underscore_const_names.
2019-06-10 06:17:39 +02:00
consts-in-patterns.rs
Don't ICE on the use of integer addresses for ZST constants in pattern matching
2019-12-26 22:46:22 +01:00
dangling-alloc-id-ice.rs
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
dangling-alloc-id-ice.stderr
normalize use of backticks in compiler messages for librustc/lint
2019-07-17 22:49:48 +02:00
dangling_raw_ptr.rs
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
dangling_raw_ptr.stderr
normalize use of backticks in compiler messages for librustc/lint
2019-07-17 22:49:48 +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
Count all errors for track_errors
2019-06-22 15:36:24 +01:00
enum-discr-type-err.stderr
Surround types with backticks in type errors
2019-11-18 11:03:04 -08:00
huge-values.rs
Resolve long compile times when evaluating always valid constants
2019-12-29 16:45:58 -05:00
ice-48279.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03: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
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03: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
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
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
Fix const_fn ICE with non-const function pointer
2018-11-30 08:43:50 +01:00
issue-56164.stderr
Fix const_fn ICE with non-const function pointer
2018-11-30 08:43:50 +01: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-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
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-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
Fix ICE related to #53708
2019-04-22 13:11:53 -07:00
match_ice.stderr
check_match: refactor + improve non-exhaustive diag for default binding modes.
2019-09-09 16:44:23 +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_from.rs
test offset_from with two integers
2019-11-04 13:32:38 +01:00
offset_from_ub.rs
Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests
2019-12-28 12:26:48 -08:00
offset_from_ub.stderr
Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests
2019-12-28 12:26:48 -08: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
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
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 dual tests for const_mut_refs
2019-12-02 09:43:40 -05:00
projection_qualif.rs
Add dual tests for const_mut_refs
2019-12-02 09:43:40 -05:00
projection_qualif.stock.stderr
Add dual tests for const_mut_refs
2019-12-02 09:43:40 -05: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_regression.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
promotion.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03: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
recursive-zst-static.rs
Add regression test for ZST statics being allowed to "read" from themselves
2019-12-26 22:50:17 +01: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
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 dual tests for const_mut_refs
2019-12-02 09:43:40 -05:00
static_mut_containing_mut_ref2.rs
Add dual tests for const_mut_refs
2019-12-02 09:43:40 -05:00
static_mut_containing_mut_ref2.stock.stderr
Add dual tests for const_mut_refs
2019-12-02 09:43:40 -05: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
Stabilize let bindings and destructuring in constants and const fn
2019-01-09 10:20:12 +01:00
too_generic_eval_ice.rs
test: add test from #61041 .
2019-08-19 18:57:09 +03:00
too_generic_eval_ice.stderr
Handle more cases involving impl and trait
2019-10-15 13:55:43 -07:00
trait_specialization.rs
Fix Instance::resolve() incorrectly returning specialized instances
2019-12-27 13:04:32 -05:00
transmute-const.rs
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
transmute-size-mismatch-before-typeck.rs
Make ui test bitwidth independent
2019-12-26 22:50:18 +01:00
transmute-size-mismatch-before-typeck.stderr
Make ui test bitwidth independent
2019-12-26 22:50:18 +01: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
A cycle error on a diverging function is now a const stack overflow again
2019-12-26 12:11:12 +01:00
uninhabited-const-issue-61744.stderr
A cycle error on a diverging function is now a const stack overflow again
2019-12-26 12:11:12 +01:00
union_constant.rs
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
unstable-const-fn-in-libcore.rs
Require issue = "none" over issue = "0" in unstable attributes
2019-12-21 13:16:18 +02:00
unstable-const-fn-in-libcore.stderr
add regression test for issue 67053
2019-12-05 15:09:06 +01:00
validate_never_arrays.rs
Revert "Remove #![feature(never_type)] from tests."
2019-12-14 09:01:04 -05:00
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
Add tests
2019-08-17 11:31:09 +02:00