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.
This commit is contained in:
parent
b1af43bc63
commit
21751fa93b
File diff suppressed because it is too large
Load Diff
2936
compiler/rustc_typeck/src/check/fn_ctxt_impl.rs
Normal file
2936
compiler/rustc_typeck/src/check/fn_ctxt_impl.rs
Normal file
File diff suppressed because it is too large
Load Diff
@ -76,6 +76,7 @@ pub mod dropck;
|
||||
mod expectation;
|
||||
mod expr;
|
||||
mod fn_ctxt;
|
||||
mod fn_ctxt_impl;
|
||||
mod gather_locals;
|
||||
mod generator_interior;
|
||||
mod inherited;
|
||||
@ -97,6 +98,7 @@ pub use check::{check_item_type, check_wf_new};
|
||||
pub use diverges::Diverges;
|
||||
pub use expectation::Expectation;
|
||||
pub use fn_ctxt::FnCtxt;
|
||||
pub use fn_ctxt_impl::*;
|
||||
pub use inherited::{Inherited, InheritedBuilder};
|
||||
|
||||
use crate::astconv::AstConv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user