rust/src/test
bors 3cb24bd37b Auto merge of #44275 - eddyb:deferred-ctfe, r=nikomatsakis
Evaluate fixed-length array length expressions lazily.

This is in preparation for polymorphic array lengths (aka `[T; T::A]`) and const generics.
We need deferred const-evaluation to break cycles when array types show up in positions which require knowing the array type to typeck the array length, e.g. the array type is in a `where` clause.

The final step - actually passing bounds in scope to array length expressions from the parent - is not done because it still produces cycles when *normalizing* `ParamEnv`s, and @nikomatsakis' in-progress lazy normalization work is needed to deal with that uniformly.

However, the changes here are still useful to unlock work on const generics, which @EpicatSupercell manifested interest in, and I might be mentoring them for that, but we need this baseline first.

r? @nikomatsakis cc @oli-obk
2017-09-12 04:14:07 +00:00
..
codegen add test for not optimized pow with constant power 2017-09-02 19:10:00 +03:00
codegen-units Adapt cgu-partitioning tests to pre-trans symbol internalization. 2017-07-13 13:29:25 +02:00
compile-fail Auto merge of #44275 - eddyb:deferred-ctfe, r=nikomatsakis 2017-09-12 04:14:07 +00:00
compile-fail-fulldeps feature error span on attr. for fn_must_use, SIMD/align, macro reëxport 2017-08-28 00:58:41 -07:00
debuginfo Pretty-printers tests: gdbr -> gdb 2017-06-09 18:51:28 +03:00
incremental Ignore failing tests harder 2017-09-05 07:37:28 -07:00
mir-opt Use NodeId/HirId instead of DefId for local variables. 2017-09-08 22:00:59 +03:00
parse-fail Auto merge of #43716 - MaloJaffre:_-in-literals, r=petrochenkov 2017-09-12 01:25:23 +00:00
pretty Use rvalue promotion to 'static instead of static items. 2017-09-10 11:20:27 +03:00
run-fail Relaxed error pattern, and add test for SystemTime as well. 2017-09-10 12:35:47 +08:00
run-fail-fulldeps Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
run-make Auto merge of #44440 - cuviper:min_global_align, r=japaric 2017-09-11 12:53:21 +00:00
run-pass Auto merge of #43716 - MaloJaffre:_-in-literals, r=petrochenkov 2017-09-12 01:25:23 +00:00
run-pass-fulldeps better explanatory comment for the pprust-expr-roundtrip test 2017-09-06 10:30:00 -04:00
run-pass-valgrind Move unsized_tuple_coercion behind a feature gate. 2017-06-29 21:25:35 +09:00
rustdoc Fix tests 2017-09-01 20:07:04 +12:00
ui rustc: evaluate fixed-length array length expressions lazily. 2017-09-11 08:41:16 +03:00
ui-fulldeps Initial diagnostic API for proc-macros. 2017-08-28 02:58:22 -07:00
COMPILER_TESTS.md Merge ui/README.md into COMPILER_TESTS.md and describe how custom UI normalization works. 2017-07-11 16:57:53 +08:00