Splitting up rustc_typeck::check::fn_ctxt::FnCtxt
#77085
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Branching this from #60302.
Originally,
mod.rs
forrustc_typeck::check
was over 6,000 lines. I was able to push that to around 1,100 lines (PR #76906).However, in the process, I found that
FnCtxt
was rather long, with 13 fields in the struct and some rather longimpl
s attached. The sum total is 3,200 lines, which effectively means that the// ignore-tidy-filelength
comment was moved frommod.rs
tofn_ctxt.rs
.The goal of this issue is to
fn_ctxt.rs
smaller, at minimum less than 3,000 lines byUnknowns to solve:
FnCtxt
Solution: Cannot do
The text was updated successfully, but these errors were encountered: