summary refs log tree commit diff
path: root/src/librustc/traits/select.rs
AgeCommit message (Expand)AuthorLines
2017-06-01pacify the mercilous tidyNiko Matsakis-1/+3
2017-06-01ergonomic improvements to the methods in infcxNiko Matsakis-41/+24
2017-06-01strip param-env from infcxNiko Matsakis-41/+75
2017-06-01move projection mode into parameter environmentNiko Matsakis-1/+1
2017-05-22rename `ParameterEnvironment` to `ParamEnv`Niko Matsakis-1/+1
2017-05-22centralize the caching for is-copy, is-sized, and is-freezeNiko Matsakis-1/+1
2017-04-24rustc: rename some of the queries to match tcx methods.Eduard-Mihai Burtescu-7/+7
2017-04-23Auto merge of #41486 - arielb1:select-where, r=eddybbors-1/+6
2017-04-23traits::select: quickly filter out predicates from other traitsAriel Ben-Yehuda-1/+6
2017-04-23clean-up adt_sized_constraint now that it uses on-demandAriel Ben-Yehuda-5/+3
2017-04-22bail out of selection when there are multiple surviving candidatesAriel Ben-Yehuda-7/+7
2017-04-15Remove MethodMatchResult and MethodMatchedData.Mark Simulacrum-29/+0
2017-04-14Further update with response to feedbackSean Griffin-1/+2
2017-04-11add Subtype predicateNiko Matsakis-0/+12
2017-03-08Disallow subtyping between T and U in T: Unsize<U>.Eduard-Mihai Burtescu-3/+3
2017-02-25rustc_typeck: hook up collect and item/body check to on-demand.Eduard-Mihai Burtescu-3/+8
2017-02-25rustc: simplify tcx.closure_type(...) as it can copy the cached values.Eduard-Mihai Burtescu-1/+2
2017-02-25rustc: combine BareFnTy and ClosureTy into FnSig.Eduard-Mihai Burtescu-7/+9
2017-02-15Remove noop method `Substs::params()`Esteban Küber-2/+2
2017-02-03Use a proper future-compatibility lintAndrew Cann-7/+6
2017-02-03Add is_defaulted_unit helper methodAndrew Cann-3/+1
2017-02-03Add warning for () to ! switchAndrew Cann-8/+55
2017-01-30Merge ty::TyBox into ty::TyAdtVadim Petrochenkov-6/+2
2017-01-24Remove Reflectest31-57/+3
2016-12-05Refactor ty::FnSig to privatize all fieldsMark-Simulacrum-11/+3
2016-12-02Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakisbors-1/+1
2016-11-29rustc: simplify AdtDef by removing the field types and ty::ivar.Eduard-Mihai Burtescu-1/+1
2016-11-28Adds TyCtxt::require_lang_item(LangItem) to simplify lang item requires.Mark-Simulacrum-2/+1
2016-11-28Refactor TyTrait to contain a interned ExistentialPredicate slice.Mark-Simulacrum-80/+64
2016-11-28Remove BuiltinBound and BuiltinBounds.Mark-Simulacrum-9/+7
2016-11-28Refactor BuiltinBounds to Vec<DefId> on TraitObject.Mark-Simulacrum-24/+22
2016-11-28Privatize TraitObject.principal and add a method accessor, returning Option.Mark-Simulacrum-13/+21
2016-11-15register `infer-ok` obligations properlyNiko Matsakis-3/+0
2016-11-15remove TypeOrigin and use ObligationCause insteadNiko Matsakis-18/+11
2016-11-12rustc: move closure upvar types to the closure substsAriel Ben-Yehuda-3/+3
2016-11-10rustc: clean up lookup_item_type and remove TypeScheme.Eduard Burtescu-2/+2
2016-11-08Replace FnvHasher use with FxHasher.Nicholas Nethercote-6/+6
2016-10-26Auto merge of #37270 - Mark-Simulacrum:smallvec-optimized-arenas, r=eddybbors-2/+2
2016-10-25Utilize AccumulateVec to avoid heap allocations in mk_{substs, type_list, tup...Mark-Simulacrum-2/+2
2016-10-22Fix typo that resulted in comparison-to-selfJohannes Muenzel-1/+1
2016-10-17prefer `if let` to match with `None => { }` arm in some placesZack M. Davis-8/+5
2016-10-14add a per-param-env cache to `impls_bound`Ariel Ben-Yehuda-1/+1
2016-10-03Optimize plug_leaks some more.Nicholas Nethercote-2/+2
2016-09-20rustc_metadata: move more RBML tags to auto-serialization.Eduard Burtescu-1/+1
2016-09-08Refactor `TyStruct`/`TyEnum`/`TyUnion` into `TyAdt`Vadim Petrochenkov-9/+7
2016-09-04Replace `_, _` with `..`Vadim Petrochenkov-2/+2
2016-09-03Add union typesVadim Petrochenkov-3/+4
2016-09-01turn the RFC1592 warnings into hard errorsAriel Ben-Yehuda-10/+6
2016-08-27rustc: use Vec<Kind> in Substs, where Kind is a &TyS | &Region tagged pointer.Eduard Burtescu-18/+16
2016-08-27rustc: pass ty::Region behind an interned 'tcx reference.Eduard Burtescu-5/+6