about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-11-13 22:43:37 -0800
committerGitHub <noreply@github.com>2024-11-13 22:43:37 -0800
commitaa189460b8cf37829fb2f80fef592a13ba6eb0b4 (patch)
tree02facb2092a6653b976404b783f82c237eb5f479 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent55e05f240bba09767d3e93722c01f52adc09df25 (diff)
parent6dad0749075b77b08788f530dca5a3af0a26b6d7 (diff)
downloadrust-aa189460b8cf37829fb2f80fef592a13ba6eb0b4.tar.gz
rust-aa189460b8cf37829fb2f80fef592a13ba6eb0b4.zip
Rollup merge of #132971 - BoxyUwU:handle_infers_in_anon_consts, r=compiler-errors
Handle infer vars in anon consts on stable

Fixes #132955

Diagnostics will sometimes try to replace generic parameters with inference variables in failing goals. This means that if we have some failing goal with an array repeat expr count anon const in it, we will wind up with some `ty::ConstKind::Unevaluated(anon_const_def, [?x])` during diagnostics which will then ICE if we do not handle inference variables correctly on stable when normalizing type system consts.

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