]> git.lizzy.rs Git - rust.git/commit
Moved the main `impl` for FnCtxt to its own file.
authorNicholas-Baron <nicholas.baron.ten@gmail.com>
Sun, 11 Oct 2020 00:43:32 +0000 (17:43 -0700)
committerNicholas-Baron <nicholas.baron.ten@gmail.com>
Sun, 11 Oct 2020 00:45:17 +0000 (17:45 -0700)
commit21751fa93bebac07d348a77c32087dc55e0ec198
treeab196f415de3ceb4b3f13e269d9f1fde56b579fa
parentb1af43bc63bc7417938df056f7f25d456cc11b0e
Moved the main `impl` for FnCtxt to its own file.

This is a solution to the file length being over 3000, something Clippy has a problem with.

The other solution to the file length is
1. to change the API of this struct by
2. encapulating certain fields of the struct into other structs.
compiler/rustc_typeck/src/check/fn_ctxt.rs
compiler/rustc_typeck/src/check/fn_ctxt_impl.rs [new file with mode: 0644]
compiler/rustc_typeck/src/check/mod.rs