about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/closure.rs
AgeCommit message (Expand)AuthorLines
2023-12-12Uplift ClosureKindMichael Goulet-70/+3
2023-11-26Auto merge of #118316 - Mark-Simulacrum:delete-copy-to-upvars, r=cjgillotbors-0/+7
2023-11-26Remove Upvar duplicationMark Rousskov-0/+7
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-08-07Migrate a trait selection error to use diagnostic translationDeadbeef-2/+17
2023-08-04Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillotMatthias Krüger-0/+2
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-1/+1
2023-07-24Perform OpaqueCast field projection on HIR, too.Oli Scherer-0/+2
2023-07-14Enable potential_query_instability lint in rustc_hir_typeck.Michael Woerister-5/+3
2023-06-20address most easy commentsZiru Niu-0/+2
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-2/+3
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-4/+4
2023-02-26Wrap more into into closure_typeinfo query.Camille GILLOT-8/+32
2023-02-26Access upvars through a query.Camille GILLOT-18/+18
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-4/+1
2022-11-28Rollup merge of #104732 - WaffleLapkin:from_def_idn't, r=compiler-errorsDylan DPC-31/+14
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-3/+3
2022-11-27micro doc fixesMaybe Waffle-11/+11
2022-11-27Simplify `ty::ClosureKind::extends`Maybe Waffle-9/+1
2022-11-27Remove `ty::ClosureKind::from_def_id`Maybe Waffle-12/+3
2022-11-22Fix `ClosureKind::to_def_id`Maybe Waffle-5/+9
2022-07-30Use LocalDefId for closures moreCameron Steffen-2/+2
2022-07-18Use span_bug for unexpected field projection typeJordan McQueen-1/+5
2022-07-14Point out custom Fn-family trait implMichael Goulet-0/+8
2022-07-05Add #[derive(TypeVisitable)]Alan Egerton-17/+12
2022-05-02fix most compiler/ doctestsElliot Roberts-11/+14
2022-03-23Better suggestions for Fn trait selection errorsMichael Goulet-3/+15
2022-03-12Auto merge of #94733 - nnethercote:fix-AdtDef-interning, r=fee1-deadbors-2/+2
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-2/+2
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-1/+1
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2022-01-13Auto merge of #89861 - nbdd0121:closure, r=wesleywiserbors-24/+10
2022-01-11Store a `Symbol` instead of an `Ident` in `VariantDef`/`FieldDef`Aaron Hill-2/+2
2022-01-07Remove region from UpvarCapture and move it to CapturedPlaceGary Guo-17/+9
2022-01-07Remove span from UpvarCapture::ByValueGary Guo-7/+1
2021-12-15Remove `in_band_lifetimes` from `rustc_middle`Aaron Hill-2/+2
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-14Auto merge of #85020 - lrh2000:named-upvars, r=tmandrybors-1/+53
2021-07-17rustc_middle: remove redundant cloneMatthias Krüger-3/+2
2021-07-10Add a query for `CapturedPlace::to_symbol`lrh2000-1/+14
2021-07-09Store names of captured variables in `optimized_mir`lrh2000-22/+13
2021-07-09Name the captured upvars for closures/generators in debuginfolrh2000-0/+48
2021-07-04Fix comments about unique borrowsLeSeulArtichaut-1/+1
2021-05-23Replace Local::new(1) with CAPTURE_STRUCT_LOCALPaul Trojahn-1/+5
2021-05-01Closure capture borrow diagnostics for disjoint capturesChris Pardy-0/+20
2021-04-19fix few typosklensy-1/+1
2021-03-27Remove (lots of) dead codeJoshua Nelson-17/+0
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-0/+50
2021-03-10Moved more of the capture related types into closure.rsNicholas-Baron-2/+173
2021-03-10Moved more types into upvar.rs (now named closure.rs)Nicholas-Baron-0/+167