diff options
| author | bors <bors@rust-lang.org> | 2022-09-27 10:45:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-27 10:45:57 +0000 |
| commit | 57ee5cf5a93923dae9c98bffb11545fc3a31368d (patch) | |
| tree | abd98065e805dca388767b651ae60673397fea9d /compiler/rustc_middle/src/ty/sty.rs | |
| parent | d9297d22ad9edc2b56f0dd8734c1187a0c88be69 (diff) | |
| parent | 1fc86a63f451b81606e4787692517dc613f333db (diff) | |
| download | rust-57ee5cf5a93923dae9c98bffb11545fc3a31368d.tar.gz rust-57ee5cf5a93923dae9c98bffb11545fc3a31368d.zip | |
Auto merge of #102306 - lcnr:rustc_hir_analysis, r=compiler-errors
rename rustc_typeck to rustc_hir_analysis first part of https://github.com/rust-lang/compiler-team/issues/529 r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_middle/src/ty/sty.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/sty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs index f4f4bb37c1a..2f6ec836c3c 100644 --- a/compiler/rustc_middle/src/ty/sty.rs +++ b/compiler/rustc_middle/src/ty/sty.rs @@ -315,7 +315,7 @@ impl<'tcx> ClosureSubsts<'tcx> { /// closure. // FIXME(eddyb) this should be unnecessary, as the shallowly resolved // type is known at the time of the creation of `ClosureSubsts`, - // see `rustc_typeck::check::closure`. + // see `rustc_hir_analysis::check::closure`. pub fn sig_as_fn_ptr_ty(self) -> Ty<'tcx> { self.split().closure_sig_as_fn_ptr_ty.expect_ty() } @@ -2121,7 +2121,7 @@ impl<'tcx> Ty<'tcx> { /// /// Note that during type checking, we use an inference variable /// to represent the closure kind, because it has not yet been - /// inferred. Once upvar inference (in `rustc_typeck/src/check/upvar.rs`) + /// inferred. Once upvar inference (in `rustc_hir_analysis/src/check/upvar.rs`) /// is complete, that type variable will be unified. pub fn to_opt_closure_kind(self) -> Option<ty::ClosureKind> { match self.kind() { |
