Move ensure_sufficient_stack
to try_execute_query
callers
This commit is contained in:
parent
5fa60a5d25
commit
a049550c45
2 changed files with 9 additions and 18 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue