-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Split rustc_typeck::check into separate files #76906
Conversation
r? @oli-obk (rust_highfive has picked a reviewer for you, use r? to override) |
I'm not a big fan of |
Sure. Could it be a one struct to one |
Well, if anything is reasonably groupable, then that is definitely preferrable. Ideally instead of a |
@oli-obk Is something like what I did for |
perfect! |
It seems that half of the
|
I have gotten Additionally, |
I guess let's mark that file as oversized for now and see how to split it later? |
☔ The latest upstream changes (presumably #74949) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
|
Per suggestion of @oli-obk. This file was rather short and joining it did not cause mod.rs to become significantly bigger.
b2c2f90
to
99e2e70
Compare
@oli-obk so the issue is no longer that How should I format the |
I'm not sure I understand? Just a message about "try to figure out how to split this file into parts" should be sufficient Also, don't use |
I am asking about the format, as I have seen |
Oh heh, that's just convention if you want others to bug you about that FIXME |
Ok, so let's move this out of draft and then I'll do a review and give the PR priority to avoid breakage |
@oli-obk ready for review |
@bors r+ p=5 |
📌 Commit ccd218d has been approved by |
☀️ Test successful - checks-actions, checks-azure |
Contributing to #60302.