rust/compiler/rustc_middle/src
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
..
dep_graph Move DepKind to rustc_query_system and define it as u16 2023-09-21 17:06:14 +02:00
hir Prevent promotion of const fn calls in inline consts 2023-09-21 09:00:22 +00:00
hooks Add tracing instrumentation, just like queries automatically add it 2023-09-22 09:25:38 +00:00
infer
middle
mir Auto merge of #116052 - oli-obk:ceci_nest_pas_une_query, r=WaffleLapkin 2023-09-23 04:41:09 +00:00
query Add a way to decouple the implementation and the declaration of a TyCtxt method. 2023-09-22 09:23:15 +00:00
thir rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const 2023-09-21 08:12:30 +02:00
traits Check types live across yields in generators too 2023-09-23 04:19:14 +00:00
ty Auto merge of #116052 - oli-obk:ceci_nest_pas_une_query, r=WaffleLapkin 2023-09-23 04:41:09 +00:00
util Merge ExternProviders into the general Providers struct 2023-09-22 20:15:34 +00:00
arena.rs
error.rs
lib.rs Add a way to decouple the implementation and the declaration of a TyCtxt method. 2023-09-22 09:23:15 +00:00
lint.rs give FutureIncompatibilityReason variants more explicit names 2023-09-22 08:51:18 +02:00
macros.rs
metadata.rs
tests.rs
thir.rs rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const 2023-09-21 08:12:30 +02:00
values.rs Move DepKind to rustc_query_system and define it as u16 2023-09-21 17:06:14 +02:00