rust/tests
bors 1b3fba066c Auto merge of #124203 - lukas-code:delete-deleting-caches, r=compiler-errors
fix normalizing in different `ParamEnv`s with the same `InferCtxt`

This PR changes the key of the projection cache from just `AliasTy` to `(AliasTy, ParamEnv)` to allow normalizing in different `ParamEnv`s without resetting caches. Previously, normalizing the same alias in different param envs would always reuse the cached result from the first normalization, which is incorrect if the projection clauses in the param env have changed.

Fixing this bug allows us to get rid of `InferCtxt::clear_caches`, which was only used by the `AutoTraitFinder`, because it requires normalizing in different param envs.

r? `@fmease`
2024-04-21 19:05:08 +00:00
..
assembly Add support for Arm64EC inline assembly 2024-04-10 10:06:44 -07:00
auxiliary extend extern tests to include FiveU16s 2024-03-17 00:07:42 -04:00
codegen Avoid reloading Vec::len across grow_one in push 2024-04-20 21:07:00 -04:00
codegen-units Codegen const panic messages as function calls 2024-03-22 09:55:50 -04:00
coverage Rollup merge of #124053 - Zalathar:lazy-boolean, r=Mark-Simulacrum 2024-04-20 21:45:36 +01:00
coverage-run-rustdoc
crashes Auto merge of #124176 - matthiaskrgr:tests_are_the_best, r=jieyouxu 2024-04-20 06:36:58 +00:00
debuginfo disable two debuginfo tests under gdb 15 2024-04-15 12:46:22 +00:00
incremental Add missing -Zquery-dep-graph to the spike-neg incr comp tests 2024-04-06 13:36:16 +00:00
mir-opt mir-opt tests: rename unit-test -> test-mir-pass 2024-04-20 13:19:34 +02:00
pretty
run-make Rollup merge of #123729 - jieyouxu:rmake-refactor-2, r=oli-obk 2024-04-19 19:30:48 +02:00
run-make-fulldeps Soft-destabilize RustcEncodable/RustcDecodable 2024-03-22 13:24:35 -07:00
run-pass-valgrind Add test for Apple's -weak_framework linker argument 2024-03-18 23:27:34 +01:00
rustdoc Auto merge of #118441 - GuillaumeGomez:display-stability-version, r=rustdoc 2024-04-19 14:17:29 +00:00
rustdoc-gui Add GUI test for copy path button 2024-04-17 16:56:14 +02:00
rustdoc-js rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
rustdoc-js-std rustdoc-search: fix description on aliases in results 2024-04-18 22:21:29 -07:00
rustdoc-json
rustdoc-ui Rollup merge of #123501 - Urgau:stabilize-check-cfg, r=petrochenkov 2024-04-16 17:54:41 +02:00
ui Auto merge of #124203 - lukas-code:delete-deleting-caches, r=compiler-errors 2024-04-21 19:05:08 +00:00
ui-fulldeps Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
COMPILER_TESTS.md