rust/src/test
Yuki Okushi 06f296a005
Rollup merge of #75333 - davidtwco:polymorphization-75260-fixes, r=lcnr
polymorphize: constrain unevaluated const handling

This PR constrains the support added for handling unevaluated consts in polymorphization (introduced in #75260) by:

- Skipping associated constants as this causes cycle errors.
- Skipping promoted constants when they contain `Self` as this ensures `T` is used in constants of the form `<Self as Foo<T>>`.

Due to an oversight on my part, when landing #75260 and #75255, some tests started failing when polymorphization was enabled that I didn't notice until after landing - this PR fixes the regressions from #75260.

r? @lcnr
2020-08-11 16:23:49 +09:00
..
assembly compiletest: Support ignoring tests requiring missing LLVM components 2020-08-02 20:35:24 +03:00
auxiliary
codegen Auto merge of #74533 - nikic:issue-74425, r=eddyb 2020-08-08 13:33:53 +00:00
codegen-units instance: only polymorphize upvar substs 2020-08-09 14:53:33 +01:00
compile-fail rustc_metadata: Make crate loading fully speculative 2020-07-18 14:06:04 +04:00
debuginfo Rollup merge of #75224 - Aaron1011:fix/function-arguments-naked, r=Amanieu 2020-08-08 11:36:02 +09:00
incremental Share serialization optimization between incr and metadata 2020-07-26 18:37:03 -04:00
mir-opt bless MIR 2020-08-09 18:54:56 +02:00
pretty tests: add regression test for #74745 2020-08-02 15:33:06 +01:00
run-make proc_macro: Add API for tracked access to environment variables 2020-07-26 13:37:37 +03:00
run-make-fulldeps intra_doc_resolution_failures -> broken_intra_doc_links 2020-07-30 10:38:55 -07:00
run-pass-valgrind
rustdoc Auto merge of #74936 - GuillaumeGomez:const-rustc_const_unstable, r=jyn514 2020-08-10 17:12:42 +00:00
rustdoc-js rustdoc: Fix doc aliases with crate filtering 2020-06-23 09:27:37 +01:00
rustdoc-js-std
rustdoc-ui Auto merge of #75127 - jyn514:impl-trait, r=pnkfelix 2020-08-10 19:33:25 +00:00
rustfix
ui Rollup merge of #75333 - davidtwco:polymorphization-75260-fixes, r=lcnr 2020-08-11 16:23:49 +09:00
ui-fulldeps Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
COMPILER_TESTS.md