about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-16 18:54:18 +0000
committerbors <bors@rust-lang.org>2023-07-16 18:54:18 +0000
commitc4083faade32b16feb471ef082ce0b1e3fe94262 (patch)
tree8adf376c3d35ea03da9fda5644b4ff66c9f8e9fb /compiler/rustc_resolve/src
parentcc7d9d534ccb2b0be4ea2ae205ea7632ebb5b465 (diff)
parent87233da5c2557ba958fb1addabad2e2b63bc1490 (diff)
downloadrust-c4083faade32b16feb471ef082ce0b1e3fe94262.tar.gz
rust-c4083faade32b16feb471ef082ce0b1e3fe94262.zip
Auto merge of #113545 - cjgillot:query-entry, r=compiler-errors
Check entry type as part of item type checking.

This code is currently executed inside the root `analysis` query.
Instead, check it during `check_for_entry_fn(CRATE_DEF_ID)` to hopefully avoid some re-executions.

`CRATE_DEF_ID` is chosen by considering that entry fn are typically at crate root, so the corresponding HIR should already be in the dependencies.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions