Files
rust/compiler
Matthias Krüger ad7aabd965 Rollup merge of #119563 - compiler-errors:coroutine-resume, r=oli-obk
Check yield terminator's resume type in borrowck

In borrowck, we didn't check that the lifetimes of the `TerminatorKind::Yield`'s `resume_place` were actually compatible with the coroutine's signature. That means that the lifetimes were totally going unchecked. Whoops!

This PR implements this checking.

Fixes #119564

r? types
2024-01-05 20:39:53 +01:00
..
2023-10-30 08:46:02 +11:00
2023-12-05 17:52:51 -08:00
2024-01-05 10:56:59 +00:00
2023-11-15 19:41:28 -05:00
2023-11-15 19:41:28 -05:00
2023-11-26 08:38:02 +11:00
2023-11-23 14:11:02 +03:00
2024-01-05 10:56:59 +00:00
2024-01-05 10:56:59 +00:00
2023-11-22 08:13:21 +11:00
2023-12-28 16:35:01 +00:00