1
Fork 0
rust/compiler/rustc_trait_selection/src/traits/query
bors 880416180b Auto merge of #99181 - lcnr:arenaGTrc, r=wesleywiser
`arena > Rc` for query results

The `Rc`s have to live for the whole duration as their count cannot go below 1 while stored as part of the query results.

By storing them in an arena we should save a bit of memory because we don't have as many independent allocations and also don't have to clone the `Rc` anymore.
2022-07-18 05:50:54 +00:00
..
type_op remove outdated comment 2022-07-12 15:29:32 +02:00
dropck_outlives.rs rip out RegionCtxt from hir typeck 2022-07-04 14:35:20 +02:00
evaluate_obligation.rs remove tcx from ObligationCauseCode::span 2022-07-15 03:17:20 +00:00
method_autoderef.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mod.rs Move some outlives bounds things from rustc_trait_selection to rustc_typeck 2021-10-15 12:14:19 -04:00
normalize.rs QueryNormalizer bug on ambiguity 2022-07-15 16:40:39 +02:00