about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/generator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-23 10:01:49 +0000
committerbors <bors@rust-lang.org>2023-09-23 10:01:49 +0000
commit3050938abd423f9e37466cc4cd4129c9b8cc427c (patch)
treece55e89f07b92c7c2f71c048f5d52ed05da6403f /compiler/rustc_mir_transform/src/generator.rs
parent0237aa3d771f4c6152c7d46a888ea89c538b121e (diff)
parent79d685325c170f0aed483e4c50c1f2b7d5b2bdc1 (diff)
downloadrust-3050938abd423f9e37466cc4cd4129c9b8cc427c.tar.gz
rust-3050938abd423f9e37466cc4cd4129c9b8cc427c.zip
Auto merge of #116081 - compiler-errors:closure-captures-sized, r=cjgillot
Check that closure/generator's interior/capture types are sized

check that closure upvars and generator interiors are sized. this check is only necessary when `unsized_fn_params` or `unsized_locals` is enabled, so only check if those are active.

Fixes #93622
Fixes #61335
Fixes #68543
Diffstat (limited to 'compiler/rustc_mir_transform/src/generator.rs')
0 files changed, 0 insertions, 0 deletions