summary refs log tree commit diff
path: root/src/librustc/traits
AgeCommit message (Expand)AuthorLines
2018-01-31track intercrate ambiguity only when there is a coherence errorNiko Matsakis-49/+82
2018-01-31change `overlapping_impls` to take a tcx and create the infcxNiko Matsakis-42/+40
2018-01-31make `overlapping_impls` call closures instead of returningNiko Matsakis-33/+45
2018-01-01Fix docs for future pulldown migrationMalo Jaffré-0/+1
2017-12-28Prefer to use attr::contains_name() and attr::find_by_name()Seiichi Uchida-3/+1
2017-12-19Auto merge of #46664 - mikeyhew:raw_pointer_self, r=arielb1bors-3/+1
2017-12-19Auto merge of #46829 - GuillaumeGomez:rollup, r=GuillaumeGomezbors-14/+19
2017-12-18Rollup merge of #46804 - estebank:conflicting-impl-def-span, r=arielb1Guillaume Gomez-4/+8
2017-12-18Rollup merge of #46801 - estebank:impl-extra-req-def-span, r=arielb1Guillaume Gomez-7/+4
2017-12-18Rework expected closure errorEsteban Küber-3/+7
2017-12-18Point at def span in "impl has stricter requirements" diagnosticEsteban Küber-7/+4
2017-12-18normalize the results of `tcx.type_of` after substitutingAriel Ben-Yehuda-1/+7
2017-12-17Use def span for conflicting impls and recursive fnEsteban Küber-4/+8
2017-12-17implement raw-pointer `self`. Works for traits, including trait objects, but ...Michael Hewson-3/+1
2017-12-10Point at whole method call instead of argsEsteban Küber-2/+2
2017-12-07replace `InferCtxt::fn_sig` with `closure_sig`Niko Matsakis-10/+10
2017-12-06convert errors to warningsAriel Ben-Yehuda-1/+1
2017-12-05add a comment and assertion explaining everythingAriel Ben-Yehuda-1/+93
2017-12-05improve error reportingAriel Ben-Yehuda-4/+3
2017-12-05convert the new conflicts to a soft errorAriel Ben-Yehuda-53/+116
2017-12-05refactor a bitAriel Ben-Yehuda-70/+87
2017-12-05improve treatment of local types in "remote coherence" modeAriel Ben-Yehuda-48/+81
2017-12-04make `no_late_bound_regions` a method on `Binder<T>`Niko Matsakis-5/+5
2017-12-04make `resolve_regions_and_report_errors` take an `OutlivesEnv`Niko Matsakis-3/+7
2017-12-04move `free_regions_map` into `infer::outlives`Niko Matsakis-1/+1
2017-11-30incr.comp.: Make traits::VTable encodable and decodable.Michael Woerister-8/+8
2017-11-30Auto merge of #46226 - arielb1:special-region-obligation, r=nikomatsakisbors-38/+105
2017-11-28Revert "fix treatment of local types in "remote coherence" mode"Ariel Ben-Yehuda-81/+48
2017-11-28Rollup merge of #46249 - estebank:suggest-slice, r=arielb1kennytm-0/+23
2017-11-27reword to "consider borrowing here: `{suggestion}`"Esteban Küber-1/+1
2017-11-26fix treatment of local types in "remote coherence" modeAriel Ben-Yehuda-48/+81
2017-11-25commentsAriel Ben-Yehuda-11/+31
2017-11-25avoid type-live-for-region obligations on dummy nodesAriel Ben-Yehuda-27/+74
2017-11-25Remove index type check (review comment)Esteban Küber-11/+5
2017-11-25Suggest using slice when encountering `let x = ""[..];`Esteban Küber-0/+29
2017-11-18remove the `generator_sigs` map, query, and plumbingNiko Matsakis-4/+2
2017-11-18convert the `closure_kinds` map to just store the origin informationNiko Matsakis-5/+5
2017-11-18stop using the `closure_kinds` query / table for anythingNiko Matsakis-6/+6
2017-11-18traits: prefer `ClosureSubsts` to `InferCtxt::closure_kind`Niko Matsakis-4/+4
2017-11-18make `ty::Predicate` carry a `ClosureSubsts`Niko Matsakis-6/+6
2017-11-16Nit: rework region obligations to a snapshotted vectorNiko Matsakis-2/+1
2017-11-16convert TODO in traits into a FIXMENiko Matsakis-5/+8
2017-11-15extract out the implied bounds code from `regionck`Niko Matsakis-3/+4
2017-11-15move the `region_obligations` processing code into `InferCtxt`Niko Matsakis-1/+1
2017-11-15assert that we are consuming all of the region obligationsNiko Matsakis-0/+9
2017-11-15convert EXTRA_REQUIREMENT_IN_IMPL into a hard errorNiko Matsakis-29/+8
2017-11-15move region constraints into inference contextNiko Matsakis-91/+19
2017-11-15fulfill: remove dead codeNiko Matsakis-8/+0
2017-11-15Auto merge of #45944 - eddyb:provide, r=nikomatsakisbors-11/+0
2017-11-12deduplicate projection error (E0271) messagesZack M. Davis-7/+14