]> git.lizzy.rs Git - rust.git/commit
Merge #8247
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 29 Mar 2021 20:39:36 +0000 (20:39 +0000)
committerGitHub <noreply@github.com>
Mon, 29 Mar 2021 20:39:36 +0000 (20:39 +0000)
commitb3ca06e4fd8fe3a3ab081c55ecaa1ec3e79fe18d
tree127b4ce4b52e53d15b83727d3bf96c3a875c809f
parent9bae3ecdffed957b50bb35e6e6a84e8d6b410032
parentb35312d4af305e86e360235150cddc263d4adc4a
Merge #8247

8247: internal: ensure that runaway type-inference doesn't block the main loop r=flodiebold a=matklad

We have a bug where type-checking `per_query_memory_usage` takes a
couple of seconds. It also reveals another bug: our type inference is
not cancellable.

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>