about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/mod.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-09-20 19:46:40 +0200
committerGitHub <noreply@github.com>2024-09-20 19:46:40 +0200
commit7adf4c2b6f8246d29abe3617f2d9d875ce91e9cc (patch)
tree0d46bc00c69f22c7730c971fb293bb100c5b3c98 /compiler/rustc_codegen_llvm/src/llvm/mod.rs
parentdf2b730e01f5fa6f7f27b0a6761457f91b4778d3 (diff)
parenta6aeba83beac8173bcc1eb819441e9bdc54d0561 (diff)
downloadrust-7adf4c2b6f8246d29abe3617f2d9d875ce91e9cc.tar.gz
rust-7adf4c2b6f8246d29abe3617f2d9d875ce91e9cc.zip
Rollup merge of #130617 - lcnr:nalgebra-hang-3, r=compiler-errors
bail if there are too many non-region infer vars in the query response

A minimal fix for the hang in nalgebra. If the query response would result in too many distinct non-region inference variables, simply overwrite the result with overflow. This should either happen if the result already has too many distinct type inference variables, or if evaluating the query encountered a lot of ambiguous associated types. In both cases it's straightforward to wait until the aliases are no longer ambiguous and then try again.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions