diff options
| author | bors <bors@rust-lang.org> | 2023-07-16 18:54:18 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-16 18:54:18 +0000 | 
| commit | c4083faade32b16feb471ef082ce0b1e3fe94262 (patch) | |
| tree | 8adf376c3d35ea03da9fda5644b4ff66c9f8e9fb /compiler/rustc_resolve/src | |
| parent | cc7d9d534ccb2b0be4ea2ae205ea7632ebb5b465 (diff) | |
| parent | 87233da5c2557ba958fb1addabad2e2b63bc1490 (diff) | |
| download | rust-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
