summary refs log tree commit diff
path: root/src/librustc_middle/ty
AgeCommit message (Expand)AuthorLines
2020-05-10Use 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-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-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
2020-04-10Rollup merge of #70913 - eddyb:rc-arc-diagnostic-items, r=matthewjasperMazdak Farrokhzad-40/+7
2020-04-09Auto merge of #70909 - marmeladema:issue70853/librustc_hir-local-def-id, r=eddybbors-3/+3
2020-04-09Auto merge of #70860 - lcnr:has_local_value, r=nikomatsakisbors-28/+14
2020-04-08replace `has_local_value` with `needs_infer`Bastian Kauschke-30/+14
2020-04-08Rollup merge of #70870 - mark-i-m:de-abuse-err, r=eddybDylan DPC-4/+4
2020-04-08don't set `HAS_INFER` for fresh typesBastian Kauschke-3/+5
2020-04-08Replace "rc"/"arc" lang items with Rc/Arc diagnostic items.Eduard-Mihai Burtescu-40/+7
2020-04-07fix abuses of tykind::errmark-4/+4
2020-04-07Remove unnecessary TypeFlags::NOMINAL_FLAGSTheo Sandstrom-24/+1
2020-04-08librustc_hir: return LocalDefId instead of DefId in local_def_idmarmeladema-3/+3
2020-04-06ty: remove `{Existential,}Trait{Ref,Predicate}::input_types`.Eduard-Mihai Burtescu-20/+0
2020-04-06ty: remove unnecessary `Predicate::walk_tys` and `collect_regions`.Eduard-Mihai Burtescu-84/+0
2020-04-06ty: switch `Ty::walk` from `Ty` to `GenericArg`.Eduard-Mihai Burtescu-50/+38
2020-04-06ty/walk: switch `walk_shallow` from `Ty` to `GenericArg`.Eduard-Mihai Burtescu-62/+34
2020-04-06ty/walk: keep track of `GenericArg`s on the stack, instead of `Ty`s.Eduard-Mihai Burtescu-85/+107
2020-04-05Rollup merge of #67797 - Aaron1011:feature/instance-query, r=nikomatsakisDylan DPC-21/+14
2020-04-05Retire rustc::ty::Attributes enum.Camille GILLOT-19/+4