summaryrefslogtreecommitdiff
path: root/src/librustc_traits/normalize_projection_ty.rs
Commit message (Collapse)AuthorAgeFilesLines
* rename `QueryResult` to `QueryResponse`Niko Matsakis2018-10-151-2/+2
| | | | `Result` really sounds like the rustc result type
* change the `enter_canonical_trait_query` method to give a fulfill cxNiko Matsakis2018-06-271-7/+5
|
* move into `provide` methodsNiko Matsakis2018-06-271-1/+9
|
* use query boiler plate for `normalize_projection_ty` tooNiko Matsakis2018-06-271-27/+33
|
* move `make_query_response` into method on infcxNiko Matsakis2018-06-261-3/+1
|
* Avoid allocations in `opt_normalize_projection_type`.Nicholas Nethercote2018-05-171-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%.
* Make PerfStats thread-safe and remove unused fieldsJohn Kåre Alsaker2018-04-101-2/+2
|
* Replace Rc with LrcJohn Kåre Alsaker2018-03-171-2/+2
|
* introduce `infcx.at(..).normalize(..)` operation [VIC]Niko Matsakis2018-03-131-0/+55
It is backed by the new `normalize_projection_ty` query, which uses canonicalization.