1
Fork 0

Move ensure_sufficient_stack to try_execute_query callers

This commit is contained in:
John Kåre Alsaker 2023-02-16 19:34:31 +01:00
parent 5fa60a5d25
commit a049550c45
2 changed files with 9 additions and 18 deletions

View file

@ -124,9 +124,7 @@ impl QueryContext for QueryCtxt<'_> {
};
// Use the `ImplicitCtxt` while we execute the query.
tls::enter_context(&new_icx, || {
rustc_data_structures::stack::ensure_sufficient_stack(compute)
})
tls::enter_context(&new_icx, compute)
})
}