about summary refs log tree commit diff
path: root/src/librustc_traits/normalize_projection_ty.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-42/+0
2020-07-05Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.Eduard-Mihai Burtescu-1/+1
2020-04-12Remove usage of `DUMMY_HIR_ID` in calls to `ObligationClause::misc`marmeladema-3/+1
Use `ObligationClause::dummy()` when appropriate or replace `hir::DUMMY_HIR_ID` by `hir::CRATE_HIR_ID`, as used in `ObligationClause::dummy()`.
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-2/+2
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-2/+2
2020-03-14Make downstream crates compile.Camille GILLOT-3/+5
2020-02-16Make librustc_traits compile.Camille GILLOT-3/+6
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-17/+4
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
2019-04-25Update trait queriesJohn Kåre Alsaker-2/+1
2019-02-13HirId-ify hir::BodyIdljedrz-2/+2
2019-02-07Transition librustc_traits to 2018 editionHirokazu Hata-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-15rename `QueryResult` to `QueryResponse`Niko Matsakis-2/+2
`Result` really sounds like the rustc result type
2018-06-27change the `enter_canonical_trait_query` method to give a fulfill cxNiko Matsakis-7/+5
2018-06-27move into `provide` methodsNiko Matsakis-1/+9
2018-06-27use query boiler plate for `normalize_projection_ty` tooNiko Matsakis-27/+33
2018-06-26move `make_query_response` into method on infcxNiko Matsakis-3/+1
2018-05-17Avoid allocations in `opt_normalize_projection_type`.Nicholas Nethercote-6/+4
This patch changes `opt_normalize_project_type` so it appends obligations to a given obligations vector, instead of returning a new obligations vector. This change avoids lots of allocations. In the most extreme case, for a clean "Check" build of serde it reduces the total number of allocations by 20%.
2018-04-10Make PerfStats thread-safe and remove unused fieldsJohn Kåre Alsaker-2/+2
2018-03-17Replace Rc with LrcJohn Kåre Alsaker-2/+2
2018-03-13introduce `infcx.at(..).normalize(..)` operation [VIC]Niko Matsakis-0/+55
It is backed by the new `normalize_projection_ty` query, which uses canonicalization.