bors c4083faade 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.
2023-07-16 18:54:18 +00:00
..
2023-07-03 09:12:15 +02:00
2023-07-10 20:09:28 +00:00
2023-07-01 02:28:15 -04:00
2023-07-11 17:52:43 +08:00
2023-06-29 16:24:07 +03:00