Uh oh!
There was an error while loading. Please reload this page.
rustc: Make the trait_map of TyCtxt private - #44162
Conversation
rust-highfive
commented
Aug 29, 2017
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
I'm worried about the proliferation of providers, but I think making trait_map public to rustc::ty would be worse.
There was a problem hiding this comment.
I don't like the proliferation of provide methods, but I think making trait_map public in all of rustc::ty would be worse.
Basically LGTM, but there's a travis blip and I suspect the primary use-case of rust/src/librustc_typeck/check/method/probe.rs Lines 662 to 678 in faf477a hasn't been updated. |
4632351 to
73076fbComparealexcrichton
commented
Aug 29, 2017
Ok I think I handled that case (still waiting on a local compile) I also switched this over to being keyed on a |
This map is calculated in resolve, but we want to be sure to track it for incremental compliation. Hide it behind a query to get more refactorings later.
73076fb to
32d35e6Comparealexcrichton
commented
Aug 29, 2017
Ok I've also pushed up a commit which hides the re-r? @arielb1 also cc @nikomatsakis |
This map, like `trait_map`, is calculated in resolve, but we want to be sure to track it for incremental compliation. Hide it behind a query to get more refactorings later.
07f8198 to
942c8dcComparearielb1
commented
Aug 30, 2017
@bors r+ |
bors
commented
Aug 30, 2017
📌 Commit 942c8dc has been approved by |
This map is calculated in resolve, but we want to be sure to track it for
incremental compliation. Hide it behind a query to get more refactorings later.
cc #44137