rust/compiler/rustc_hir_analysis/src/check
bors 3050938abd 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
2023-09-23 10:01:49 +00:00
..
compare_impl_item Don't emit refining_impl_trait for private items 2023-09-07 01:31:32 +00:00
check.rs Check types live across yields in generators too 2023-09-23 04:19:14 +00:00
compare_impl_item.rs Record asyncness span in HIR 2023-09-21 19:18:14 +00:00
dropck.rs Remove constness from ParamEnv 2023-07-27 15:50:42 +00:00
entry.rs Auto merge of #115897 - eduardosm:check-fn-sig, r=compiler-errors 2023-09-21 22:59:13 +00:00
intrinsic.rs rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
intrinsicck.rs Allow MaybeUninit in input and output of inline assembly 2023-08-23 21:57:18 +09:00
mod.rs wrap fn sig binders in fn ptr 2023-09-19 21:15:58 +02:00
region.rs Move let expression checking to parsing 2023-09-11 15:51:18 +00:00
wfcheck.rs diagnostics: simpler 83556 handling by bailing out 2023-09-22 22:41:01 -07:00