Auto merge of #61857 - Centril:typeck-extract-expr, r=oli-obk
typeck: extract expr type-checking to expr.rs + refactor check_expr_kind In this PR we: - Extract out the bulk of the expression type checking logic from `check/mod.rs` into a new file `check/expr.rs`. - Refactor `fn check_expr_kind` into several smaller functions. More functions should probably be moved but I think this is a reasonable start. r? @oli-obk cc @eddyb
This commit is contained in:
commit
b01a257da1
3 changed files with 1543 additions and 1382 deletions
1537
src/librustc_typeck/check/expr.rs
Normal file
1537
src/librustc_typeck/check/expr.rs
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -68,6 +68,7 @@ This API is completely unstable and subject to change.
|
|||
#![feature(rustc_diagnostic_macros)]
|
||||
#![feature(slice_patterns)]
|
||||
#![feature(never_type)]
|
||||
#![feature(inner_deref)]
|
||||
|
||||
#![recursion_limit="256"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue