Mazdak Farrokhzad
ebfd8673a7
Remove rustc_hir reexports in rustc::hir.
2020-01-05 12:49:22 +01:00
Vadim Petrochenkov
70f1d57048
Rename syntax_pos
to rustc_span
in source code
2020-01-01 09:15:18 +03:00
Mark Rousskov
a06baa56b9
Format the world
2019-12-22 17:42:47 -05:00
Eduard-Mihai Burtescu
f3f9d6dfd9
Unify all uses of 'gcx and 'tcx.
2019-06-14 18:58:23 +03:00
Eduard-Mihai Burtescu
17cdd356da
rustc: replace TyCtxt<'tcx, 'gcx, 'tcx>
with TyCtxt<'gcx, 'tcx>
.
2019-06-12 13:38:27 +03:00
Eduard-Mihai Burtescu
37799a5552
rustc: replace TyCtxt<'a, 'gcx, 'tcx>
with TyCtxt<'tcx, 'gcx, 'tcx>
.
2019-06-12 13:38:27 +03:00
John Kåre Alsaker
53269c7f6e
Update trait queries
2019-04-25 18:23:36 +02:00
ljedrz
eac43ccda4
HirId-ify hir::BodyId
2019-02-13 09:54:58 +01:00
Hirokazu Hata
f03704b281
Transition librustc_traits to 2018 edition
2019-02-07 10:17:48 +09:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Niko Matsakis
bca294da1f
rename QueryResult
to QueryResponse
...
`Result` really sounds like the rustc result type
2018-10-15 08:57:22 -04:00
Niko Matsakis
9b1d2229ff
change the enter_canonical_trait_query
method to give a fulfill cx
2018-06-27 16:04:32 -04:00
Niko Matsakis
b2e899f843
move into provide
methods
2018-06-27 09:42:21 -04:00
Niko Matsakis
66c88392b4
use query boiler plate for normalize_projection_ty
too
2018-06-27 06:49:43 -04:00
Niko Matsakis
dfd33f5932
move make_query_response
into method on infcx
2018-06-26 10:49:24 -04:00
Nicholas Nethercote
47bc774ab6
Avoid allocations in opt_normalize_projection_type
.
...
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-05-17 10:35:39 +10:00
John Kåre Alsaker
7aa7198b4b
Make PerfStats thread-safe and remove unused fields
2018-04-10 14:40:25 +02:00
John Kåre Alsaker
697d3bee96
Replace Rc with Lrc
2018-03-17 23:01:54 +01:00
Niko Matsakis
3a50b41da4
introduce infcx.at(..).normalize(..)
operation [VIC]
...
It is backed by the new `normalize_projection_ty` query, which uses
canonicalization.
2018-03-13 11:22:05 -04:00