Files
rust/compiler/rustc_mir_transform/src
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-09-26 09:37:55 +02:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-01-05 10:00:59 +00:00
2023-12-10 10:56:22 +08:00
2023-12-24 20:08:57 +00:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-01-03 19:40:20 +11:00
2023-10-20 21:10:38 +00:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-12 19:28:13 +01:00
2023-12-28 12:23:14 +08:00
2024-01-05 10:00:59 +00:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-11-14 17:07:34 +01:00
2023-12-10 10:56:22 +08:00