fully move dropck to mir

This commit is contained in:
lcnr 2022-06-28 22:56:32 +02:00
parent a5c6a48aee
commit 8deadfa271
16 changed files with 79 additions and 124 deletions

View file

@ -1825,7 +1825,8 @@ rustc_queries! {
remap_env_constness
}
/// Do not call this query directly: invoke `infcx.at().dropck_outlives()` instead.
/// Do not call this query directly:
/// invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead.
query dropck_outlives(
goal: CanonicalTyGoal<'tcx>
) -> Result<