diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-05 20:39:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-05 20:39:53 +0100 |
| commit | ad7aabd9652bfda6bb267acd4b0f57fc96df4d60 (patch) | |
| tree | 9bdef5896f5bf49e12253ad1efe324c35b55ec99 /compiler/rustc_codegen_gcc/example/example.rs | |
| parent | 958417fba1d69acc78034969e5e7401f84a51a2c (diff) | |
| parent | 1d48f69d65af74201314304623f37f5bcefa9a24 (diff) | |
| download | rust-ad7aabd9652bfda6bb267acd4b0f57fc96df4d60.tar.gz rust-ad7aabd9652bfda6bb267acd4b0f57fc96df4d60.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions
