about summary refs log tree commit diff
path: root/src/librustc/ty/instance.rs
AgeCommit message (Expand)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-460/+0
2020-03-24normalize some imports, prefer direct ones.Mazdak Farrokhzad-1/+1
2020-03-23Rollup merge of #69968 - eddyb:tupled-closure-captures, r=nikomatsakisMazdak Farrokhzad-2/+2
2020-03-21symbol_names: treat ReifyShim like VtableShim.Eduard-Mihai Burtescu-4/+0
2020-03-21rustc: keep upvars tupled in {Closure,Generator}Substs.Eduard-Mihai Burtescu-2/+2
2020-03-20Rollup merge of #69935 - davidtwco:issue-69925, r=eddybYuki Okushi-0/+26
2020-03-15rustc: tweak comments on InstanceDef.Ana-Maria Mihalache-12/+9
2020-03-15rustc: don't resolve Instances which would produce malformed shims.Eduard-Mihai Burtescu-0/+15
2020-03-12codegen/mir: support polymorphic `InstanceDef`sDavid Wood-0/+26
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-1/+1
2020-03-03use question mark operator in a few places.Matthias Krüger-3/+1
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-27Auto merge of #67332 - matthewjasper:drop-in-place-cgus, r=michaelwoeristerbors-4/+21
2020-02-19Make lookup of associated item by name O(log n)Dylan MacKenzie-1/+1
2020-02-13Don't instantiate so many copies of `drop_in_place`Matthew Jasper-4/+21
2020-02-13Move resolve_instance to rustc_ty.Camille GILLOT-123/+20
2020-02-12Auto merge of #68679 - matthewjasper:needs-type-op, r=varkorbors-1/+1
2020-02-11Review comments.Camille GILLOT-1/+1
2020-02-11Move lang_items definitions to librustc_lang_items.Camille GILLOT-1/+1
2020-02-08Make `associated_items` query return a sliceJonas Schievink-0/+1
2020-02-02Use correct `ParamEnv` in `Instance::resolve`Matthew Jasper-1/+1
2020-01-23Add projection query for upstream drop-glue instances.Michael Woerister-1/+35
2020-01-23Clarify some methods around instance instantiation via comments and clearer n...Michael Woerister-3/+15
2020-01-19InstanceDef::requires_caller_location limited to items.Adam Perry-1/+6
2020-01-07Make traits::util::* free functions.Camille GILLOT-1/+1
2020-01-06Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisabors-2/+2
2020-01-05Fix typoAaron Hill-1/+1
2020-01-05Rename Instance.ty to Instance.monomorphic_tyAaron Hill-6/+2
2020-01-05s/projections/params/Aaron Hill-1/+1
2020-01-05Run rustfmtAaron Hill-1/+2
2020-01-05Change 'panic!' to 'bug!'Aaron Hill-1/+1
2020-01-05Fix ICE involving calling `Instance.ty` during const evaluationAaron Hill-0/+28
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-2/+2
2020-01-04extract rustc::middle::codegen_fn_attrsMazdak Farrokhzad-1/+1
2019-12-27Fix `Instance::resolve()` incorrectly returning specialized instancesWesley Wiser-0/+19
2019-12-22Format the worldMark Rousskov-127/+93
2019-12-05Implement #[track_caller] in const.Adam Perry-4/+5
2019-12-03rustc: add docs to FnAbi::{of_fn_ptr,of_instance} and InstanceDef::Virtual.Eduard-Mihai Burtescu-1/+5
2019-12-03rustc: move Instance::fn_sig to ty::layout and privatize it.Eduard-Mihai Burtescu-65/+1
2019-12-03rustc: use ReifyShim for reifying Virtual call instances.Eduard-Mihai Burtescu-12/+20
2019-12-03rustc: combine Instance::fn_sig_noadjust and Instance::fn_sig.Eduard-Mihai Burtescu-17/+15
2019-11-21Aggregation of drive-by cosmetic changes.Alexander Regueiro-3/+3
2019-11-18Retire BraceStructLiftImpl.Camille GILLOT-1/+2
2019-10-11resolve_for_fn_ptr checks that the instance is an Item before returning shim.Adam Perry-10/+12
2019-10-10Instance::resolve_for_fn_ptr unconditionally resolves first.Adam Perry-9/+13
2019-10-10Improve docs for InstanceDef::ReifyShim.Adam Perry-1/+4
2019-10-09Clarify comment, dedupe match arms in shim.rs.Adam Perry-1/+3
2019-10-09Return ReifyShim from Instance::resolve_for_fn_ptr when track_caller present.Adam Perry-2/+2
2019-10-09Reifying callers of Instance::resolve use resolve_for_fn_ptr.Adam Perry-6/+3
2019-10-09Add Instance::resolve_for_fn_ptrAdam Perry-1/+23