rust/tests
bors 2f5df8a94b Auto merge of #115366 - compiler-errors:associated-type-bound-implicit-lifetimes, r=jackh726
Capture lifetimes for associated type bounds destined to be lowered to opaques

Some associated type bounds get lowered to opaques, but they're not represented in the AST as opaques.

That means that we never collect lifetimes for them (`record_lifetime_params_for_impl_trait`) which are used currently for RPITITs, which capture all of their in-scope lifetimes[^1]. This means that the nested RPITITs that arise from some type like `impl Foo<Type: Bar>` (~> `impl Foo<Type = impl Bar>`) don't capture any lifetimes, leading to ICEs.

This PR makes sure we collect the lifetimes for associated type bounds as well, and make sure that they are set up correctly for opaque type lowering later.

Fixes #115360

[^1]: #114489
2023-08-31 21:13:54 +00:00
..
assembly Auto merge of #112922 - g0djan:godjan/wasi-threads, r=wesleywiser 2023-08-02 01:01:48 +00:00
auxiliary
codegen Auto merge of #115260 - scottmcm:not-quite-so-cold, r=WaffleLapkin 2023-08-29 02:23:43 +00:00
codegen-units
debuginfo tests: add test for #67992 2023-08-25 10:31:22 +01:00
incremental Forbid old-style simd_shuffleN intrinsics 2023-08-03 09:29:00 +00:00
mir-opt Auto merge of #115231 - saethlin:dont-ignore-wasm, r=Mark-Simulacrum 2023-08-27 17:51:50 +00:00
pretty
run-coverage Various trivial formatting fixes in run-coverage tests 2023-08-26 14:35:34 +10:00
run-coverage-rustdoc Tidy up some awkwardly-placed comments in tests 2023-08-26 14:35:34 +10:00
run-make ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
run-make-fulldeps On nightly, dump ICE backtraces to disk 2023-07-19 14:10:07 +00:00
run-pass-valgrind
rustdoc Auto merge of #115078 - camelid:tydef-to-alias, r=aDotInTheVoid,GuillaumeGomez 2023-08-24 04:13:28 +00:00
rustdoc-gui Remove unneeded "background_color" parameter 2023-08-26 11:25:04 +02:00
rustdoc-js Auto merge of #112233 - notriddle:notriddle/search-unify, r=GuillaumeGomez 2023-06-15 03:04:46 +00:00
rustdoc-js-std Auto merge of #108537 - GuillaumeGomez:rustdoc-search-whitespace-as-separator, r=notriddle 2023-07-02 18:49:29 +00:00
rustdoc-json Fix rustdoc-json tests 2023-08-23 11:52:49 -07:00
rustdoc-ui rustdoc: use unicode-aware checks for redundant explicit link fastpath 2023-08-21 14:25:26 -07:00
ui Auto merge of #115366 - compiler-errors:associated-type-bound-implicit-lifetimes, r=jackh726 2023-08-31 21:13:54 +00:00
ui-fulldeps Create StableMir replacer for SMirCalls 2023-08-29 16:30:50 +03:00
COMPILER_TESTS.md