X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=crates%2Fhir-ty%2Fsrc%2Finfer.rs;h=9dbeba4f9f48f900bf0afd09ef9ba2e11522e667;hb=6f13f1230168bba424d3707acf8ca07fc0593b37;hp=e37763e8ea7f03075b5c19349d4c7d5ff1baf69d;hpb=f5fde4df43fa9a6cf929b1cb0f6ab8233a4be4dc;p=rust.git diff --git a/crates/hir-ty/src/infer.rs b/crates/hir-ty/src/infer.rs index e37763e8ea7..9dbeba4f9f4 100644 --- a/crates/hir-ty/src/infer.rs +++ b/crates/hir-ty/src/infer.rs @@ -2,7 +2,7 @@ //! the type of each expression and pattern. //! //! For type inference, compare the implementations in rustc (the various -//! check_* methods in librustc_typeck/check/mod.rs are a good entry point) and +//! check_* methods in rustc_hir_analysis/check/mod.rs are a good entry point) and //! IntelliJ-Rust (org.rust.lang.core.types.infer). Our entry point for //! inference here is the `infer` function, which infers the types of all //! expressions in a given function.