]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy/clippy_lints/src/needless_pass_by_value.rs
Rollup merge of #106164 - compiler-errors:check-region-tweak, r=oli-obk
authorfee1-dead <ent3rm4n@gmail.com>
Mon, 9 Jan 2023 15:35:29 +0000 (23:35 +0800)
committerGitHub <noreply@github.com>
Mon, 9 Jan 2023 15:35:29 +0000 (23:35 +0800)
commit7779386a3a62e6aedb81ddd10977b1b0d4b2bcec
tree77223265402a5fbafcb573699d934b8b679c8bea
parentfd75cfef669fce0f2580abd0a4cefb72ed6f2f02
parentc104ee9f6d24cf5b0f928ba09dbd71835fe127ee
Rollup merge of #106164 - compiler-errors:check-region-tweak, r=oli-obk

Move `check_region_obligations_and_report_errors` to `TypeErrCtxt`

Makes sense for this function to live with its sibling `resolve_regions_and_report_errors`, around which it's basically just a wrapper.
compiler/rustc_hir_analysis/src/check/compare_impl_item.rs
compiler/rustc_hir_analysis/src/check/wfcheck.rs
compiler/rustc_infer/src/infer/mod.rs