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 Remove more unused Lift impls. 2023-09-18 09:37:10 +10:00
middle Rework no_coverage to coverage(off) 2023-09-08 12:46:06 +01:00
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 Remove metadata_loader query 2023-08-13 16:38:50 +00:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
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 Rename CloneLiftImpls as TrivialLiftImpls. 2023-09-18 09:37:09 +10:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
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