Skip to content

Commit f033528

Browse files
committed
Auto merge of #102306 - lcnr:rustc_hir_analysis, r=compiler-errors
rename rustc_typeck to rustc_hir_analysis first part of rust-lang/compiler-team#529 r? `@compiler-errors`
2 parents 75f881a + b33e3a6 commit f033528

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crates/hir-ty/src/autoderef.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! In certain situations, rust automatically inserts derefs as necessary: for
22
//! example, field accesses `foo.bar` still work when `foo` is actually a
33
//! reference to a type with the field `bar`. This is an approximation of the
4-
//! logic in rustc (which lives in librustc_typeck/check/autoderef.rs).
4+
//! logic in rustc (which lives in rustc_hir_analysis/check/autoderef.rs).
55
66
use std::sync::Arc;
77

crates/hir-ty/src/infer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! the type of each expression and pattern.
33
//!
44
//! For type inference, compare the implementations in rustc (the various
5-
//! check_* methods in librustc_typeck/check/mod.rs are a good entry point) and
5+
//! check_* methods in rustc_hir_analysis/check/mod.rs are a good entry point) and
66
//! IntelliJ-Rust (org.rust.lang.core.types.infer). Our entry point for
77
//! inference here is the `infer` function, which infers the types of all
88
//! expressions in a given function.

crates/hir-ty/src/infer/coerce.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! like going from `&Vec<T>` to `&[T]`.
44
//!
55
//! See <https://doc.rust-lang.org/nomicon/coercions.html> and
6-
//! `librustc_typeck/check/coercion.rs`.
6+
//! `rustc_hir_analysis/check/coercion.rs`.
77
88
use std::{iter, sync::Arc};
99

crates/hir-ty/src/method_resolution.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! This module is concerned with finding methods that a given type provides.
22
//! For details about how this works in rustc, see the method lookup page in the
33
//! [rustc guide](https://rust-lang.github.io/rustc-guide/method-lookup.html)
4-
//! and the corresponding code mostly in librustc_typeck/check/method/probe.rs.
4+
//! and the corresponding code mostly in rustc_hir_analysis/check/method/probe.rs.
55
use std::{iter, ops::ControlFlow, sync::Arc};
66

77
use arrayvec::ArrayVec;

0 commit comments

Comments
 (0)