rust/src/librustc_traits
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
..
Cargo.toml
dropck_outlives.rs Store the GeneratorInterior in the new GeneratorSubsts 2018-05-08 16:21:58 +02:00
evaluate_obligation.rs Retry canonical trait query in standard mode if overflow occurs 2018-04-26 20:28:30 -05:00
lib.rs Create a canonical trait query for evaluate_obligation 2018-04-26 20:28:29 -05:00
lowering.rs sort strings on output 2018-04-23 13:28:15 -04:00
normalize_erasing_regions.rs improved debug output 2018-04-26 13:31:24 -04:00
normalize_projection_ty.rs Avoid allocations in opt_normalize_projection_type. 2018-05-17 10:35:39 +10:00
util.rs Make Binder's field private and clean up its usage 2018-04-24 22:12:07 -05:00