mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
aa189460b8
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``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |