summary refs log tree commit diff
path: root/src/librustc/ty/util.rs
AgeCommit message (Expand)AuthorLines
2017-10-02fix handling of `Self`Ariel Ben-Yehuda-3/+1
2017-10-01fix handling of SelfAriel Ben-Yehuda-1/+3
2017-10-01handle nested generics in Generics::type_param/region_paramAriel Ben-Yehuda-2/+2
2017-09-18incr.comp.: Remove tcx from StableHashingContext.Michael Woerister-2/+2
2017-09-11rustc: evaluate fixed-length array length expressions lazily.Eduard-Mihai Burtescu-2/+9
2017-09-11rustc: use ty::Const for the length of TyArray.Eduard-Mihai Burtescu-1/+3
2017-09-11rustc: replace usize with u64 and ConstUsize.Eduard-Mihai Burtescu-3/+3
2017-09-05rustc: Migrate lang items to a queryAlex Crichton-1/+1
2017-08-28Merge branch 'master' of https://github.com/rust-lang/rust into genJohn Kåre Alsaker-3/+7
2017-08-25rustc: Fix two instances of `try_get`Alex Crichton-3/+7
2017-08-25Comment about generators and dropsAlex Crichton-0/+3
2017-08-11Merge remote-tracking branch 'origin/master' into genAlex Crichton-0/+5
2017-08-11Auto merge of #43743 - michaelwoerister:gcx-tcx-switcheroo, r=eddybbors-0/+5
2017-08-10Merge remote-tracking branch 'origin/master' into genAlex Crichton-1/+1
2017-08-09Initial pass review commentsAlex Crichton-1/+1
2017-08-09Erase/anonymize regions while computing TypeId hash.Michael Woerister-0/+5
2017-08-08make `for_all_relevant_impls` O(1) againAriel Ben-Yehuda-1/+1
2017-07-28Generator literal supportJohn Kåre Alsaker-0/+10
2017-06-29Add unsized tuple coercions.Masaki Hara-9/+20
2017-06-27rustc: move the PolyFnSig out of TyFnDef.Eduard-Mihai Burtescu-1/+1
2017-06-19Memoize types in `is_representable` to avoid exponential worst-caseAriel Ben-Yehuda-13/+44
2017-06-10rustc: make the comon case of tcx.infer_ctxt(()) nicer.Eduard-Mihai Burtescu-4/+4
2017-06-01remove `layout_cache` and fix `-Z print-type-sizes`Niko Matsakis-1/+15
2017-06-01strip param-env from infcxNiko Matsakis-11/+24
2017-06-01rewrite layout to take a (param-env, ty) pair instead of infcxNiko Matsakis-26/+26
2017-06-01move projection mode into parameter environmentNiko Matsakis-8/+20
2017-05-31Upgrade ProjectionTy's Name to a DefIdTobias Schottdorf-2/+1
2017-05-28Auto merge of #41917 - arielb1:mir-array, r=nagisabors-0/+9
2017-05-28address review commentsAriel Ben-Yehuda-1/+1
2017-05-28translate array drop glue using MIRAriel Ben-Yehuda-0/+9
2017-05-26extend `struct_tail` to operate over closuresNiko Matsakis-7/+23
2017-05-22two more style nitsNiko Matsakis-5/+4
2017-05-22rename `ParameterEnvironment` to `ParamEnv`Niko Matsakis-12/+12
2017-05-22move `needs_drop` into a queryNiko Matsakis-106/+72
2017-05-22refactor common logic into `ParameterEnvironment::and()`Niko Matsakis-15/+3
2017-05-22centralize the caching for is-copy, is-sized, and is-freezeNiko Matsakis-145/+82
2017-05-13rustc: treat ReEarlyBound as free without replacing it with ReFree.Eduard-Mihai Burtescu-3/+2
2017-05-07Auto merge of #40857 - estebank:recursive, r=arielb1bors-18/+32
2017-05-05Move logic to `is_representable` instead of climbing HIREsteban Küber-18/+32
2017-05-02Store interned predicates in ParameterEnvironmentTobias Schottdorf-0/+3
2017-04-30intern CodeExtentsNiko Matsakis-3/+3
2017-04-24rustc: use tcx.at(span) to set the location of a query.Eduard-Mihai Burtescu-1/+1
2017-04-24rustc: expose the common DUMMY_SP query case as tcx methods.Eduard-Mihai Burtescu-1/+1
2017-04-24rustc: rename some of the queries to match tcx methods.Eduard-Mihai Burtescu-5/+5
2017-04-23cache ADT dtorck resultsAriel Ben-Yehuda-3/+161
2017-04-22avoid calling `mk_region` unnecessarilyAriel Ben-Yehuda-1/+1
2017-04-20rustc: combine type_needs_drop_given_env and may_drop into needs_drop.Eduard-Mihai Burtescu-20/+58
2017-04-20rustc: replace TypeContents::needs_drop with Ty::may_drop.Eduard-Mihai Burtescu-1/+78
2017-04-20rustc: replace interior_unsafe with a Freeze trait.Eduard-Mihai Burtescu-0/+44
2017-04-13Auto merge of #40570 - nikomatsakis:inference-subtype-through-obligation, r=a...bors-0/+1