about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-26 06:15:29 +0100
committerGitHub <noreply@github.com>2023-01-26 06:15:29 +0100
commitdd08f35e87d51ccc5055cb331834b2736040ad8c (patch)
treed9ccf54402dd1abcb80d3663dccb176e2ee6da34 /compiler/rustc_codegen_llvm/src/errors.rs
parent5be2f51428dd2daeafc582d5c06328e21f2fd5a9 (diff)
parent0f24e11ef5cd0a8363ae1791cee3f96de3d0845c (diff)
downloadrust-dd08f35e87d51ccc5055cb331834b2736040ad8c.tar.gz
rust-dd08f35e87d51ccc5055cb331834b2736040ad8c.zip
Rollup merge of #107286 - compiler-errors:new-solver-deny-infers, r=lcnr
ICE in new solver if we see an inference variable

By construction, we do not expect to see any `ty::Infer(ty::TyVar(_))` inference types in the solver (we treat this as ambiguous, since we need to be able to structurally resolve the self type at least one layer to assemble candidates for it). Additionally, since we're doing no freshening, we also don't expect to see any fresh vars of any kind in the solver.

Let's make that an ICE so we can catch any mistakes.

When #107282 lands, we should also ICE there too if we see a non-int/float infer.

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