-
Notifications
You must be signed in to change notification settings - Fork 13.5k
rustc_resolve: Move ReducedGraphParent building into its own module #20115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
691f83a
to
734a467
Compare
I rearranged the commits to make the more controversial free function change last, killed ReducedGraphParent, and added an explaination of my motivation to the free function commit. |
I see, but why not remove just the parent field in the visitor and leave the code in methods? |
So this looks good to me. I don't have a strong opinion about the move to free fns from methods. It is true that |
Another option might be to just rename the |
734a467
to
c7a8240
Compare
Okay, rebased. I now use the idea that @nikomatsakis suggested of having a separate P.S. Do you know of any good way to rebase refactors like this? The most effective method I've found is just scrapping everything and starting from the beginning. |
This also gets rid of a bunch of unnecessary `.clone`s. cc @eddyb
This also gets rid of a bunch of unnecessary `.clone`s. cc @eddyb
This also gets rid of a bunch of unnecessary
.clone
s.cc @eddyb