mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00
![]() Properly check that array length is valid type during built-in unsizing in index This results in duplicated errors, but this class of errors is not new; in general, we aren't really equipped to detect cases where a WF error due to a field type would be shadowed by the parent struct of that field also not being WF. This also adds a note for these types of mismatches to make it clear that this is due to an array type. Fixes #134352 r? boxyuwu |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |