about summary refs log tree commit diff
path: root/src/librustc_middle/ty
AgeCommit message (Expand)AuthorLines
2020-04-27Auto merge of #71268 - estebank:devectorize, r=eddybbors-7/+5
2020-04-26Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddybDylan DPC-23/+14
2020-04-24Replace filter_map().next() calls with find_map()Josh Stone-8/+5
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-23/+14
2020-04-23Address comments from reviewmarmeladema-7/+5
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-11/+10
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-13/+20
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-4/+5
2020-04-22Move `{Free,}RegionRelations` and `FreeRegionMap` out of `rustc_middle`Dylan MacKenzie-134/+0
2020-04-22Add `#[inline]` declarationsDylan MacKenzie-0/+1
2020-04-22Use `Body` everywhereDylan MacKenzie-12/+10
2020-04-22Rollup merge of #71203 - csmoe:issue-71137, r=csmoeDylan DPC-3/+5
2020-04-22Rollup merge of #70970 - eddyb:trait-vs-impl-mismatch, r=oli-obkDylan DPC-19/+21
2020-04-22add test for correct await spancsmoe-2/+2
2020-04-20Use more `Iterator`s instead of `Vec`sEsteban Küber-7/+5
2020-04-20Auto merge of #70729 - nnethercote:a-big-options-clean-up, r=petrochenkovbors-3/+1
2020-04-20Auto merge of #71232 - eddyb:print-const-adts, r=oli-obkbors-52/+75
2020-04-19Auto merge of #71331 - Dylan-DPC:rollup-5rn1isc, r=Dylan-DPCbors-6/+2
2020-04-19Rollup merge of #71310 - JohnTitor:dont-did, r=estebankDylan DPC-6/+2
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-32/+38
2020-04-19Auto merge of #70015 - jonas-schievink:gen-needs-drop, r=matthewjasperbors-5/+3
2020-04-19Replace uses of `parse_opt_*` with `parse_*` where possible.Nicholas Nethercote-3/+1
2020-04-19Do not show DefId in diagnosticsYuki Okushi-6/+2
2020-04-18Detect mistyped associated consts in `Instance::resolve`.Eduard-Mihai Burtescu-7/+13
2020-04-18ty/instance: use `ParamEnvAnd` in the `resolve_instance` query.Eduard-Mihai Burtescu-12/+8
2020-04-18Auto merge of #71218 - eddyb:a-lifetime-stranded-in-fn-def, r=nikomatsakisbors-6/+26
2020-04-17Make `needs_drop` less pessimistic on generatorsJonas Schievink-5/+3
2020-04-17Auto merge of #71049 - eddyb:const-err, r=oli-obkbors-27/+47
2020-04-17ty/print: pretty-print constant aggregates (arrays, tuples and ADTs).Eduard-Mihai Burtescu-16/+63
2020-04-17record await span inside GeneratorInteriorTypeCausecsmoe-3/+5
2020-04-17ty/print/pretty: use `comma_sep` instead of replicating it.Eduard-Mihai Burtescu-36/+12
2020-04-16outlives: ignore lifetimes shallowly found in `ty::FnDef`s.Eduard-Mihai Burtescu-6/+26
2020-04-16ty: convert `ErrorHandled::Reported` to `ConstKind::Error`.Eduard-Mihai Burtescu-2/+7
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-4/+5
2020-04-16ty: add `ty::ConstKind::Error` to replace `tcx.consts.err`.Eduard-Mihai Burtescu-21/+35
2020-04-16rustc_target::abi: add Primitive variant to FieldsShape.Ana-Maria Mihalache-4/+11
2020-04-15Do not ICE in the face of invalid enum discriminantEsteban Küber-1/+5
2020-04-15Rollup merge of #71116 - marmeladema:dummy-hir-id-removal, r=eddybMazdak Farrokhzad-7/+10
2020-04-14ty: erase lifetimes early in `ty::Const::eval`.Eduard-Mihai Burtescu-30/+28
2020-04-14Do not use `DUMMY_HIR_ID` as placeholder value in node_id_to_hir_id tablemarmeladema-7/+10
2020-04-14Rename AssocKind::Method to AssocKind::FnRustin-Liu-24/+14
2020-04-11Add `#[inline(always)]` to `into_query_param`Dylan MacKenzie-0/+2
2020-04-11Apply suggestions from reviewDylan MacKenzie-14/+20
2020-04-11Use custom trait instead of `Into`Dylan MacKenzie-3/+23
2020-04-11Simplify macroDylan MacKenzie-57/+19
2020-04-11Fix inference falloutDylan MacKenzie-1/+1
2020-04-11Make query helpers on `TyCtxt` take `impl Into<DefId>`Dylan MacKenzie-23/+66
2020-04-11Auto merge of #70161 - cjgillot:query-arena, r=nikomatsakisbors-20/+5
2020-04-10Auto merge of #70986 - marmeladema:issue70853/librustc_middle-local-def-id, r...bors-3/+3
2020-04-10librustc_middle: return LocalDefId instead of DefId in body_owner_def_idmarmeladema-3/+3